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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
hady27
Frequent Visitor

Top Occurring Region

Hi all!

 

I have a question concerning a DAX expression. I'm trying to calculate the top occuring region within a table. For example, I have a visual with a table which shows addresses that meet with certain conditions. From this visual (table) I want to have a measure of the region where the most addresses (which consequently meet the conditions) are located. I can't seem to find the correct DAX expression to do this.

 

Can anybody help me out?

 

Thanks!

 

Hady

2 REPLIES 2
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @hady27,

 

Have you solved the problem?

 

If you have solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.

 

If you still need help, please feel free to ask.

 

Best  Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-piga-msft
Resident Rockstar
Resident Rockstar

Hi @hady27,

 

You could try with RANKX OR TOPN fucntions to achieve that.

 

Please refer to the links below about how to use  RANKX and TOPN function.

 

Use of RANKX in Power BI Measeures

 

When and how to use TOPN

 

If you still need help, please share some data sample and your desired output so that we can further investigate on it?

 

Best Regards,

Cherry

Community Support Team _ Cherry Gao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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