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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
LarryFisherman
Frequent Visitor

Custom dimension based on measure

Hi all,

 

I am attempting to create a dimension to use on a bar graph. Where I am having x axis being a categorization/buckets of a calculation done by a measure. What I want to do, is to categorize the results of measure 4 in intervals and display the count of records I have in those intervals. Below is a screenshot with the expected result.

 

LarryFisherman_0-1696453843627.png

 

Data:

 

DateNumberDimension 1Dimension 2Dimension 3Dimension 4
01.01.20232313AABBCCDD
01.01.202341235BBCCCCDD
02.01.202321312AAEEAACC

 

Measures:

Measure 1: Number; sum(Number)
Measure 2: Number LY; calculate(Number, sameperiodlastyear(date))
Measure 3: Number vs. Number LY: Number - Number LY

Measure 4: Number vs. Number LY (%): Divide(Number vs. Number LY, Number LY)

 

I hope my explaination makes sense. Thanks in advance.

2 REPLIES 2
CoreyP
Solution Sage
Solution Sage

I think what you need to do is called binning. However, you can only bin a calculated column, not a measure. So, you'll need to create a summarized calculated table to use, rather than your measure. 

Hi Corey. Thanks for your suggestion. I tried creating a calculated column, but I didnt give me a satisfactory result. Tried something like: if measure 4 < 4% and > 2% then "2-4%". But it seemed like it evaluted the entire column and not each row.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors