Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Mahmoodul
Helper I
Helper I

Please Convert this Tableau LOD function into Power Bi DAX

{ FIXED [Report Date],[Iw Oow Flag],[Client_Type],[Open Closed] : COUNTD([Sb Contractcall])}

3 ACCEPTED SOLUTIONS
Tahreem24
Super User
Super User

You can give a try to below Dax:

 

=Calculate(DistinctCount(Table[Sb Contractcall]), AllExcept(Table, Table[Report Date],Table[Iw Oow Flag],Table[Client_Type],Table[Open Closed))

 

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard

View solution in original post

Anonymous
Not applicable

Hi @Mahmoodul ,

 

I think you might use DISTINCTCOUNT() instead of COUNT() in the formula above.

 

Best Regards,

Jay

View solution in original post

@Anonymous , Thanks for this catch.

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @Mahmoodul ,

 

I think you might use DISTINCTCOUNT() instead of COUNT() in the formula above.

 

Best Regards,

Jay

@Anonymous , Thanks for this catch.

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard
Tahreem24
Super User
Super User

You can give a try to below Dax:

 

=Calculate(DistinctCount(Table[Sb Contractcall]), AllExcept(Table, Table[Report Date],Table[Iw Oow Flag],Table[Client_Type],Table[Open Closed))

 

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors