This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
I Just need to add only one measure at the end of Matrix but Measure is adding to each Column in the Matrix,
I tried the work-around with word-wrap but is there any other solution or suggestions .
Solved! Go to Solution.
Hi, @vishnuteja
Are you trying to control the Total of the Matrix view using Measure? If this is the case, you can learn about the HASONEVALUE function. https://docs.microsoft.com/dax/hasonevalue-function-dax
As an example, for the data shown in the figure, total defaults to sum, but I want to display the smallest value of it.
Measure = IF(HASONEVALUE('Table'[Sales]),SUM('Table'[Sales]),MIN('Table'[Sales]))
If the method I provided above can't solve your problem, what's your expected result? Can you provide a simple PBIX file for testing?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @vishnuteja
If the previous suggestions didn't solve your problem, can you provide a simple PBIX file for testing? And show what you expect the output to be. Looking forward to your response.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @vishnuteja
Are you trying to control the Total of the Matrix view using Measure? If this is the case, you can learn about the HASONEVALUE function. https://docs.microsoft.com/dax/hasonevalue-function-dax
As an example, for the data shown in the figure, total defaults to sum, but I want to display the smallest value of it.
Measure = IF(HASONEVALUE('Table'[Sales]),SUM('Table'[Sales]),MIN('Table'[Sales]))
If the method I provided above can't solve your problem, what's your expected result? Can you provide a simple PBIX file for testing?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Leave the Column well empty, and only use the Values well. Consider using a table rather than a matrix. Consider using calculation groups. Consider creating a completely custom matrix.
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 |
|---|---|
| 10 | |
| 8 | |
| 8 | |
| 6 | |
| 6 |
| User | Count |
|---|---|
| 24 | |
| 23 | |
| 22 | |
| 19 | |
| 16 |