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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply

Need % after selecting value in slicers

Hello,

I'm very new in power bi learning. I've one slicer, one stacked column chart and one card.

 

slicer = market items, one stacked column chart = working market items, card = one measure written..

*items mean data

 

What I'm looking is when I will click on item in slicer, I should get % in card.

 

after selecting any item from slicers, to get % calcaution below is the logic-

var a = highest value in column chart

var b = total of all the numbers which is availble in chart

 

currently I've this dax with me. But this only give me % after selecting (clicking) on bar. Instaed of this, when I will select value in slicers, it directly show me in card.

 

Pls guide me on this

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @PowerBIBeginer ,

 

You may try to click this percent sign in the Measure tool. The value will then be returned as a percentage.

8.png

 

Best Regards,

Stephen Tao

 

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

7 REPLIES 7
Anonymous
Not applicable

Hi @PowerBIBeginer ,

 

You may try to click this percent sign in the Measure tool. The value will then be returned as a percentage.

8.png

 

Best Regards,

Stephen Tao

 

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

This is called perfect solution.. Appriciate your reply.. Thanks..

amitchandak
Super User
Super User

@PowerBIBeginer ,The information you have provided is not making the problem clear to me. Can you please explain with an example.
Can you share sample data and sample output in table format?
Appreciate your Kudos.

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

how do i attach screenshot?

Hi All,

Anyone here to help me on this

let me explain one more time..

I have one slicer - it contains market value

I have one stacked column chart - it contains working market value (i.e. graph)

the dax which I've just shared, it shows me % after clicking on every column bar

 

instaed of this, when I'll click (select) value in sliecer (i.e. market item which is also available in working market graph) will directly show me % of total.

this is my current dax

% in Market =
var a =
CALCULATE(COUNTA(GCC_Histogram_Data[Market]),
FILTER(GCC_Histogram_Data,GCC_Histogram_Data[Working Market]<>"Admin"),
FILTER(GCC_Histogram_Data,GCC_Histogram_Data[Working Market]<>"Process Support"),
FILTER(GCC_Histogram_Data,GCC_Histogram_Data[Working Market]<>"Quality Control"),FILTER(GCC_Histogram_Data,GCC_Histogram_Data[Working Market]<>""))

var b =
CALCULATE(COUNTA(GCC_Histogram_Data[Market]),
GCC_Histogram_Data[Working Market]<>"Admin",
GCC_Histogram_Data[Working Market]<>"Process Support",
GCC_Histogram_Data[Working Market]<>"Quality Control",GCC_Histogram_Data[Working Market]<>"")

return a/b*100

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors