Forum Discussion
Usman6400
3 years agoFrequent Visitor
Attribute Function From Tableau to Power bi.
Hi Community, I have a scenario in which I am replecating ATTR() Function of Tableau into power bi. I am using this measure ATTR = VAR _dist = DISTINCTCOUNT('PAC Resanction Query'[Old...
Usman6400
3 years agoFrequent Visitor
Jihwan_Kim
Could you please look into it.
- Anonymous3 years agoNot applicable
HI Usman6400,
You can take a look at the following blog to know how to use filters to check current row context levels, then you can use the if statement with conditions to check records count values and replace them with different results.
Clever Hierarchy Handling in DAX - SQLBI
If you are confused about the coding formula, please share some dummy data to test:
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng