Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
2 years ago

Converting Tableau Calculation into Power BI

Hi,

 

I am in the process of converting a load of Tableau dashboards into Power BI but cannot figure out how to translate this particular measure and was hoping someone could point me in the right direction:

 

Measure from Tableau:
COUNTD([SNO]) / TOTAL(COUNTD([SNO]))

I know COUNTD( ) in tableau is DISTINCTCOUNT( ) in Power BI.
But not able to figure out the total part and also used this calculation

SUMX( ALL(Query1), DISTINCTCOUNT([SNO]) ) by taking reference from the forum. But, it's not working as expected.

Any help would be appreciated

Many Thanks in advance



2 Replies