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

View all the Fabric Data Days sessions on demand. View schedule

Reply
cyclist007
Responsive Resident
Responsive Resident

SSAS based Calculated Measure not working in Gauge against a date attribute (non-key attribute)

Hi, 

 

I am running into the following issue: A calculated measure in SSAS is only working in Power BI when plotted against the key attribute of Date dimension but not when plotted only against an attribute which is not a key.  Due to this we are not able to use this measure in plotting a gauge against an attribute of Date dimension which is not based on key attribute. This works fine when used in table visual. See attached image. Does anybody know the reason or workaround for this? Thanks

 

 

Calculated Measure not working in a Gauge.PNG

 

Calculated Measure not working in a Gauge 2.PNG

1 REPLY 1
v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @cyclist007,

 

It seems that the calculated measure needs a specific date context for calculation. Could you post the formula of the calculated measure, so that we can help further investigate on it? Smiley Happy

 

Regards

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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