cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
pradeep467 Frequent Visitor
Frequent Visitor

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
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Top Kudoed Authors
Users Online
Currently online: 137 members 1,707 guests
Please welcome our newest community members: