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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
pradeep467
Helper III
Helper III

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.
0 REPLIES 0

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.