cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
Anonymous
Not applicable

What-if slicer and Pie chart

Dear Friends, 

 

i have one what-if slicer: Cut-Off Days 

cutoffday.JPG

 and table(columns PO Number and ROS Float)

table.JPG

 and Ros Status Measure have been calculated as per value selected from Slicer:

ROS Status Measure =
                            var newrosfloat=SUM('PO List Internal-CPY'[ROS Float])
                            var cutdays='Cut-Off Days'[Cut-Off Days Value]
                           return
                                CALCULATE(
                                                    IF(ISBLANK(newrosfloat),"NA",IF(newrosfloat>cutdays,"Green",IF(newrosfloat<0,"Red","Yellow")))
                                                    )
 
i can display ROS Status Measure in table and  changed dynamic as per selection from slicer.
Actually what i am looking that i want to display ROS Status Measure in bar chart or pie chart like:float count.JPG

 
 
and can be auto update based on Slicer value changes but  its not appearing in pie or bar chart
 
i know i can achieve this by calculated Column but which will not work with Slicer change
 
i there anyone know , how can i short out this
 
Thanks

1 REPLY 1
amitchandak
Super User
Super User

@Anonymous , One is you have three measures and use that in pie visual and do not use legend

 

if you want legend then you to create one table with three values and then have new measure join this measure in filter with grouping of the PO number

 

you need = join

 

Dynamic Segmentation Bucketing Binning
https://community.powerbi.com/t5/Quick-Measures-Gallery/Dynamic-Segmentation-Bucketing-Binning/m-p/1387187#M626


Dynamic Segmentation, Bucketing or Binning: https://youtu.be/CuczXPj0N-k

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors