Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi everyone!
I have a table containing sales by month and a table having the budget by year.
I created a matrix having on the columns the month and on the values sales and budget.
I would like to show that sales by month and the budget only by year since I do not have the detail of the budget by month.
I was able to hide the columns of the budget for each month, shrinking the column width, but now the row height is increased.
This is the matrix I obtaied. Ideally I would like to keep the Budget € total and not the value fo reach month.
Is there a way to achieve this?
Thanks,
Carlotta.
Solved! Go to Solution.
Hi @carlottaf ,
If your original budget calculation formula is similar to sum('table'[budget), you can try to update the measure for budget as below. I just create a sample pbix file(see attachment) for you, please check whether it is OK...
budget =
IF (
ISINSCOPE ( 'Table'[field on Rows option] )
&& ISINSCOPE ( 'Table'[field on Columns option] ),
BLANK (),
SUM ( 'Table'[campaigns] )
)
If the above one is not working for your scenario, could you please provide the Fields pane setting of your matrix? Which field be put on Rows option? It is better if you can provide your simplified pbix file(exclude sensitive info). Thank you.
Best Regards
Hi @carlottaf ,
You can refer the solution in the following threads, hope they can help you resolve the problem.
Hiding certain matrix columns, only showing them in total
Turn off Word wrap in the matrix Format pane
Hiding certain matrix columns, only showing them in total
Best Regards
Hi @v-yiruan-msft !
I already tried this, but as you can see in the picture I posted, I was able to hide the column Budget for the months but the rows now have a very high height.
Is there a way to avoid it?
Thanks,
Carlotta.
Hi @carlottaf ,
If your original budget calculation formula is similar to sum('table'[budget), you can try to update the measure for budget as below. I just create a sample pbix file(see attachment) for you, please check whether it is OK...
budget =
IF (
ISINSCOPE ( 'Table'[field on Rows option] )
&& ISINSCOPE ( 'Table'[field on Columns option] ),
BLANK (),
SUM ( 'Table'[campaigns] )
)
If the above one is not working for your scenario, could you please provide the Fields pane setting of your matrix? Which field be put on Rows option? It is better if you can provide your simplified pbix file(exclude sensitive info). Thank you.
Best Regards
Thanks a lot for the suggestion!
Yes the calculation is something like sum('table'[budget).
I will try your solution and let you know if this solves my problem.
If the problem persists, I will attach the pbix file.
Thanks again,
Carlotta.
@carlottaf , not possible by default. You need to use hybrid table workarounds
if you are looking for a Hybrid display with Matrix Column and measure
https://community.powerbi.com/t5/Community-Blog/Creating-a-custom-or-hybrid-matrix-in-PowerBI/ba-p/1...
https://community.powerbi.com/t5/Quick-Measures-Gallery/The-New-Hotness-Custom-Matrix-Hierarchy/m-p/...
vote for Hybrid Table
https://ideas.powerbi.com/ideas/idea/?ideaid=9bc32b23-1eb1-4e74-8b34-349887b37ebc
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
100 | |
78 | |
64 | |
58 |
User | Count |
---|---|
148 | |
113 | |
97 | |
84 | |
67 |