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
Minakshi
Resolver I
Resolver I

A card which can show 2 values as ratio

Hello all,


Is there any card available in which I can show the following

Screenshot from 2020-11-17 13-35-29.png

 

A card which can show percentage of a ratio (95%) and at the same time ration values [96/101] and a description.

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

Hi, @Minakshi 

According to your picture, you can follow my steps:

This is my test data ‘Table’:

v-robertq-msft_0-1605681602450.png

  1. Create two measures:
Percentage =

var _total=SUMX(ALL('Table'),[Amount])

var _amount=SUM('Table'[Amount])

return DIVIDE(_amount,_total)
Value =

var _total=SUMX(ALL('Table'),[Amount])

var _amount=SUM('Table'[Amount])

return "["&_amount&"/"&_total&"]"

 

  1. Create two Card chart and place two measures one by one, then press on “Ctrl” and select on the two card charts, then right click->Group, like this:

v-robertq-msft_1-1605681602455.png

  1. Create a Slicer and place [ID], and you can get what you want, like this:

屏幕截图 2020-11-18 144106.png

You can download my test pbix file here

 

If this result is not what you want, you can post some sample data(without sensitive data) and your expected result.

How to Get Your Question Answered Quickly 

 

Best Regards,

Community Support Team _Robert Qin

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

3 REPLIES 3
v-robertq-msft
Community Support
Community Support

Hi, @Minakshi 

According to your picture, you can follow my steps:

This is my test data ‘Table’:

v-robertq-msft_0-1605681602450.png

  1. Create two measures:
Percentage =

var _total=SUMX(ALL('Table'),[Amount])

var _amount=SUM('Table'[Amount])

return DIVIDE(_amount,_total)
Value =

var _total=SUMX(ALL('Table'),[Amount])

var _amount=SUM('Table'[Amount])

return "["&_amount&"/"&_total&"]"

 

  1. Create two Card chart and place two measures one by one, then press on “Ctrl” and select on the two card charts, then right click->Group, like this:

v-robertq-msft_1-1605681602455.png

  1. Create a Slicer and place [ID], and you can get what you want, like this:

屏幕截图 2020-11-18 144106.png

You can download my test pbix file here

 

If this result is not what you want, you can post some sample data(without sensitive data) and your expected result.

How to Get Your Question Answered Quickly 

 

Best Regards,

Community Support Team _Robert Qin

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

amitchandak
Super User
Super User

@Minakshi , I doubt seen any visual like this. You can group a few cards and get one such visual

https://docs.microsoft.com/en-us/power-bi/desktop-grouping-visuals

 

Also, you can explore custom visual at - https://appsource.microsoft.com/en-us/marketplace/apps?product=power-bi-visuals

 

Fowmy
Super User
Super User

@Minakshi 

I am not sure if any visual in the visual market places is there, but you can achieve this by creating a measure combining all values like:

________________________

If my answer was helpful, please consider Accept it as the solution to help the other members find it

Click on the Thumbs-Up icon if you like this reply 🙂

YouTube  LinkedIn

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

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.