cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jyaul007
Helper II
Helper II

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

@jyaul007 , 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/1...


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



New Power BI Features
Datamarts: https://youtu.be/8tskWsJTEpg
Field Parameters : https://youtu.be/lqF3Wa1FllE?t=70
Did I answer your question? Mark my post as a solution! Appreciate your Kudos!! !!
Dashboard of My Blogs !! Connect on Linkedin !! Proud to be a Super User!
Want To Learn Power BI
Learn Power BI Beginners !! Advance Power BI Concepts !! Power BI For Tableau User !! Learn Power BI in Hindi !!
!! Subscribe to my youtube Channel !!

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power BI Dev Camp Session 23 768x460.jpg

Check it Out!

Mark your calendars and join us on Thursday, June 30 at 11a PDT for a great session with Ted Pattison!

Top Solution Authors
Top Kudoed Authors