Forum Discussion
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.
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.
5 Replies
- lbendlin
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- AnonymousNot 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.