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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Power BI Monthly Update - May 2024

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

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.