This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreGet Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.
I have some calculation that I created in Measures that I would like to display where Total value is (inside Matrxi visual).
I have attached PBI file for reference.
For example (at "Actual" tab), these two are Measures that I created using Cards.
I am trying to see if there is a way to display these calculation at where regular Total is.
Solved! Go to Solution.
Hi @JustinDoh1 ,
Thanks @Ashish_Mathur for your answer and sharing, I have a small addition here.
If you want to place [Skill Mix % All] in the matrix and the TOTAL value shows [Skill Mix % Total Rest], you can consider creating measure, using the IF() + HASONEVALUE() function, to determine if it's a Total or not, and if it is, you can do the calculations according to your own needs, such as Average. Sum and so on. Because measure is incorrect in Total is a relatively common scenario, measure follows the context of the "Total" row and is calculated in that context. As a result, measures used in the columns of a table visualization may have unexpected values in the "Total" column.
Measure =
IF(
HASONEVALUE('vw_Ocuupancy'[Provider_Name]),[Skill Mix % All],[Skill Mix % Total Rest])Measure 2 =
IF(
HASONEVALUE('vw_Ocuupancy'[Provider_Name]),[Occupancy % All],[Occupancy % Total Rest])
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @JustinDoh1 ,
Thanks @Ashish_Mathur for your answer and sharing, I have a small addition here.
If you want to place [Skill Mix % All] in the matrix and the TOTAL value shows [Skill Mix % Total Rest], you can consider creating measure, using the IF() + HASONEVALUE() function, to determine if it's a Total or not, and if it is, you can do the calculations according to your own needs, such as Average. Sum and so on. Because measure is incorrect in Total is a relatively common scenario, measure follows the context of the "Total" row and is calculated in that context. As a result, measures used in the columns of a table visualization may have unexpected values in the "Total" column.
Measure =
IF(
HASONEVALUE('vw_Ocuupancy'[Provider_Name]),[Skill Mix % All],[Skill Mix % Total Rest])Measure 2 =
IF(
HASONEVALUE('vw_Ocuupancy'[Provider_Name]),[Occupancy % All],[Occupancy % Total Rest])
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
@Anonymous
Thank you for your help again.
Can I ask you one more question?
Your DAX formula worked for visuals in "Actual" and "Budget" tabs, but I am not sure how to make it work in "Variance" tab:
I have uploaded my latest PBI file here:
Do these measures not work because Variance is populated by calculation, not by its own Fact table?
Thanks.
@Anonymous
This is brilliant. I will dig into this approach. Thank you!
You had dragged the wrong measure to the Table visual. Drag the ones that you have to the card visuals.
Hope this helps.
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 23 | |
| 21 | |
| 21 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 56 | |
| 55 | |
| 43 | |
| 26 | |
| 24 |