Forum Discussion
Calculation Group and SelectedValue
- 1 year ago
Calculation group logic is only applied once per measure, so statements like
VAR _Value = CALCULATE( SELECTEDMEASURE(), CG_TimeIntelligence[Name] = "MTD PY" )won't work.
What you could do is to create a separate calculation group for labels, which would then be able to call the time intelligence calculation items. You could have the calculation item return a numeric value for the variance, which you would then be able to detect in conditional formatting, and use the format string property of the label calculation item to return the formatted string using the exact code you already have in the Label calculation item you posted.
Hi Picco,
Thank you for using Microsoft Fabric Community Forum.
I wanted to check if you had the opportunity to review the information provided by johnt75 . Please feel free to contact us if you have any further questions.
Thank you.
- v-sgandrathi1 year agoCommunity Support
Hi Picco,
We wanted to follow up since we haven't heard back from you regarding our last response. We hope your issue has been resolved.
If you need any further assistance, feel free to reach out.
Thank you for being a valued member of the Microsoft Fabric Community Forum!
- v-sgandrathi1 year agoCommunity Support
Hi Picco,
As we have not received a response from you yet, I would like to confirm whether you have successfully resolved the issue or if you require further assistance.
Thank you.