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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Syndicate_Admin
Administrator
Administrator

How do I place specific results generated in an array on a card

Hello. I have a matrix that distributes results of a measure according to categories in my database.

Based on the results, I want to make a DAX formula that allows me to present my most critical results on a card. For example:

VGDM18_0-1665090057193.png

Let's pretend that my result-5 is within a category that I will call category A, so I want to have a card that reflects: that the most critical category is the one with -5 because it is my smallest result.

Thank you!

1 ACCEPTED SOLUTION
v-yanjiang-msft
Community Support
Community Support

Hi @Syndicate_Admin ,

According to your description, if -5 is the only value of category A, you can create a measure like this:

Measure =
MAXX ( FILTER ( ALL ( 'Table' ), 'Table'[Category] = "A" ), [Demand] )

Best Regards,
Community Support Team _ kalyj

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

2 REPLIES 2
v-yanjiang-msft
Community Support
Community Support

Hi @Syndicate_Admin ,

Is your problem solved? If so, would you mind accept the helpful replies as solutions? Then we are able to close the thread. More people who have the same requirment will find the solution quickly and benefit here, thank you!

Best Regards,
Community Support Team _ kalyj

v-yanjiang-msft
Community Support
Community Support

Hi @Syndicate_Admin ,

According to your description, if -5 is the only value of category A, you can create a measure like this:

Measure =
MAXX ( FILTER ( ALL ( 'Table' ), 'Table'[Category] = "A" ), [Demand] )

Best Regards,
Community Support Team _ kalyj

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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