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

Issue with Bucketsize and grouped line chart

Hi, 

I am trying to chart a column into buckets. 

StoreID Tysales PySales % change

I am trying to put the % change into 3 buckets and then look at store count falling under these 3 buckets..

Like %change <0 as '<0 bucket'

                      1-3 as '1-3 bucket'

                      >3 as '>3bucket'

I am able to bucket the columns by creating a new measure

if([Lift %]*100<0,"< 0",(if([Lift %]*100>0 && [Lift %]*100<3,"0-3",">3")))
 
Now I am trying to chart a graph like '<0 bucket'   23
                                                            '1-3 bucket'   56
                                                            '>3 bucket'   45
As store repeats in the fact, I am trying to bring the Id from dimension and do a distinct count.it shows a 1 when I bring the store number, but when I remove the store number,the ggregation is screwing up..any suggestions.

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

July 2020 Community Highlights

July 2020 Community Highlights

Learn about the exciting things that happened in July.

Featured Data Story of The Month

Featured Data Story of The Month

All Data Stories Gallery contributions are reviewed for each month. We select a contribution and feature the community member the following month.

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

We are thrilled to announce we will begin running a monthly webinar series named Power BI Dev Camp.

Power BI Desktop August 2020 Update

Power BI Desktop August 2020 Update

We have great updates this month! Click the link for the video with more info.