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
Anonymous
Not applicable

Absolute referencing - Fixed value in a measure.

Hi, 

I wish to have a value fixed in the measure called "measure 3". The measure 3 calculation is given in formula bar in the screenshot 1 and below as well. The user right now is comparing season spring 2021 with spring 2022. The value that I would to have fixed is $14.37, which is the overall price in spring 2021 season. 

Measure 3 = 'FACT Final data'[Price/Unit] - 14.37 (the value to fixed or not to be changed in the calculation)
Right now the user is comparing season spring 2021 with spring 2022 and $14.37 is the spring 2021 value. This value to be fixed can be seen as the base price from which the price/unit ( in column 1 in the table from the left) would be subtracted. In the screenshot, you can see a sample result that is required in measure 3. For "denim long bottoms" category, meausre 3 is subtracting $10.09 - $14.37 = -4.38. For "Non-denim long bottoms" category, its calculating $17.29 - $14.37 = 2.92 and so on. 

I want this $14.37 value to fixed in THIS calculation but the user can compare any season given in the slicers. For example, the user can compare fall 2021 with fall 2022. So, the value to be fixed in this comparison will be $17.78 (fall 2021 overall price) and that can be seen in the screenshot 2 on the right. And, a sample result for measure 3 of this fall season comparison is also given in the table (screenshot 2 on the right). So, this fixed value should also be dynamic to the season chosen in the "season" slicer but fixed in the caculation for all the categories. It's like FIXED LOD expression in tableau but also dynamic to the season chosen in the "season" slicer.

Appreciate any help in this regard. Also, happy to provide more clarification to anyone if needed.

Akhil_Bhardwaj_0-1659559805378.png Akhil_Bhardwaj_1-1659560206807.png

 

 

5 REPLIES 5
lbendlin
Super User
Super User

"I wish to have a value fixed in the measure "  - So you want a calculated column instead of a measure?

 

Please provide sanitized sample data that fully covers your issue. I cannot help you without usable sample data.
Please paste the data into a table in your post or use one of the file services like OneDrive or Google Drive. I cannot use screenshots of your source data.
Please show the expected outcome based on the sample data you provided. Screenshots of the expected outcome are ok.

https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523

Anonymous
Not applicable

Hi, thank you your response. There seems to be an error occuring when I upload the sample data set table in here. If you can provide me your email, I can sent the sample data set immediately.

 

Anonymous
Not applicable

Sample data set.xlsx - Google Sheets

Can you tell me if you are able to see the sample data set?

yes, thank you.  While I look at it please read about ALLEXCEPT and REMOVEFILTERS.  These will allow your to calculate "fixed"  measures that are only impacted by some filters but not by all.

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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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