Forum Discussion
Hardcode Custom Row in PowerBI Matrix
- Anonymous2 years ago
Hi All
Firstly Greg_Deckler thank you for your solution!
And agram ,after all this time, have you solved the problem you are experiencing, if you are still experiencing problems with the new table, I have written the DAX based on your example data, I hope it can help you!NewTable = UNION( SELECTCOLUMNS( 'Table', "Month", [Month], "Week", [Week], "# day", [# day], "COND Ratio", [COND Ratio], "FIELD", [FIELD] ), ROW( "Month", "April", "Week", "Budget", "# day", BLANK(), "COND Ratio", 15, "FIELD", 20 ), ROW( "Month", "April", "Week", "Forecast", "# day", BLANK(), "COND Ratio", 16, "FIELD", 21 ) )If you have any other questions, you can check out the PBIX file I uploaded, and I'd be honoured if my answer solves your problem!
Hope it helps!
Best regards,
Community Support Team_ Tom ShenIf this post helps then please consider Accept it as the solution to help the other members find it more quickly.
agram Well, there's a way but it's really ugly. The New Hotness (Custom Matrix Hierarchy) - Microsoft Fabric Community
Just read your write up.. Looks exactly like what I am looking for! Just wondering though, in your write up you create new columns, how am I able to create new rows with a hierarchy?
- Greg_Deckler2 years agoCommunity Champion
agram It should be the same technique but you would use the disconnected table for the rows instead of the columns. Or, you may have to use a disconnected table for both the rows and the columns. If you post sample data as text I might have time to look at it more in-depth.