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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
hilmandenis
Frequent Visitor

Show Data on Card Based on Status

Hi everyone,

 

I have a canvas that shows a report of a transaction. It's something like this

 

powerbi.PNG

  

 

 

I want to create a card that shows a summarize value of Pay Amount based on Order Status if I click the date in the line chart. Right now both are showing the total amount based on date. I want the left card to show the total Pay Amount of the successful order and the right card to shows the total Pay Amount of fail order. 

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

In Visual level filter, you can add order status and filter Screenshot 2020-01-08 13.27.23.png

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blog -
https://community.powerbi.com/t5/Community-Blog/Winner-Topper-on-Map-How-to-Color-States-on-a-Map-wi...
https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...
https://community.powerbi.com/t5/Community-Blog/Power-BI-Working-with-Non-Standard-Time-Periods/ba-p...
https://community.powerbi.com/t5/Community-Blog/Comparing-Data-Across-Date-Ranges/ba-p/823601

 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

v-gizhi-msft
Community Support
Community Support

Hi,

 

According to your description, I create a table to test:

1.png

Then, I create two measures to calculate Sum of [Pay Amount] based on [order Status]:

Successful Sum = CALCULATE(SUM('Table'[Pay Amount]),FILTER('Table','Table'[Order Status]="Successful"))

Failed Sum = CALCULATE(SUM('Table'[Pay Amount]),FILTER('Table','Table'[Order Status]="Failed"))

Choose the card visual for these two measures and choose date as a slicer, the result shows:

2.png

Here is my test pbix file:

pbix 

 

Best Regards,

Giotto Zhi

 

View solution in original post

2 REPLIES 2
v-gizhi-msft
Community Support
Community Support

Hi,

 

According to your description, I create a table to test:

1.png

Then, I create two measures to calculate Sum of [Pay Amount] based on [order Status]:

Successful Sum = CALCULATE(SUM('Table'[Pay Amount]),FILTER('Table','Table'[Order Status]="Successful"))

Failed Sum = CALCULATE(SUM('Table'[Pay Amount]),FILTER('Table','Table'[Order Status]="Failed"))

Choose the card visual for these two measures and choose date as a slicer, the result shows:

2.png

Here is my test pbix file:

pbix 

 

Best Regards,

Giotto Zhi

 

amitchandak
Super User
Super User

In Visual level filter, you can add order status and filter Screenshot 2020-01-08 13.27.23.png

 

Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blog -
https://community.powerbi.com/t5/Community-Blog/Winner-Topper-on-Map-How-to-Color-States-on-a-Map-wi...
https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-tr...
https://community.powerbi.com/t5/Community-Blog/Power-BI-Working-with-Non-Standard-Time-Periods/ba-p...
https://community.powerbi.com/t5/Community-Blog/Comparing-Data-Across-Date-Ranges/ba-p/823601

 

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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.