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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
RenataOGardner
Helper II
Helper II

Top accounts

Hello,
Could you please help me with a measure where I can see the number of locations with more than 10 total cases in either South America or North America? Thanks a lot in advance.

RenataOGardner_0-1628360011939.png

 

2 ACCEPTED SOLUTIONS
Greg_Deckler
Super User
Super User

@RenataOGardner Easiest way would be to just use the Filter pane to filter TotalCases > 10. Otherwise, you could always use a Complex Selector. The Complex Selector - Microsoft Power BI Community



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

Thanks for Jos.

What to do, if the continent is on another table please?

View solution in original post

4 REPLIES 4
Jos_Woolley
Solution Sage
Solution Sage

Hi,

Assuming a table named 'Cases' with columns 'Continent', 'Country' and 'Total Cases', this measure:

Locations (> 10 Cases North or South America) =
CALCULATE (
    COUNTROWS ( 'Cases' ),
    'Cases'[Continent] IN { "North America", "South America" },
    'Cases'[Total Cases] > 10
)

Regards

Thanks for Jos.

What to do, if the continent is on another table please?

Greg_Deckler
Super User
Super User

@RenataOGardner Easiest way would be to just use the Filter pane to filter TotalCases > 10. Otherwise, you could always use a Complex Selector. The Complex Selector - Microsoft Power BI Community



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Thank you so much. The filter panel worked fine.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.