Need to change Tableau Calculated Field to Power BI DAX

Viewed 11

I have this calculated field in tableau;

countd(if [SBA] = True then [ID] end)/attr({COUNTD([ID])})

How to write this in DAX Power BI? everything before the ATTR I understand. How to write the attr({COUNTD([ID])}) in POwer BI? Is there a Power BI equivalent of ATTR?

This calculation is to return a %

0 Answers
Related