Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
vipett
Helper III
Helper III

Matrix with additional columns

I use a matrix to to display Forecast per month by product. As I also want to compare the average first six months' forecast with same period last year and what we have on orders. Today I do that in a separate matrix overlapped by the forecast by month table. 

That works fine as long as I don't need to scroll vertically, then you would scroll both and try to line them up.

vipett_0-1705917431579.png

 

Is there a way of adding three "additional" columns with a measure, or do I need to rebuild the data tables to have those three "as if they months"?

1 ACCEPTED SOLUTION
danextian
Super User
Super User

Hi @vipett ,

Achieving your goal is possible, but it involves utilizing advanced DAX/PQ techniques. Essentially, you need to generate a table with a column storing the period, total, and additional columns. This task can be accomplished using either DAX or M. Subsequently, you create a measure to retrieve the desired value based on the specified period/total/extra columns. The structure of your table would resemble the following:

danextian_0-1705920398371.png

Please see attached sample pbix.

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

View solution in original post

2 REPLIES 2
danextian
Super User
Super User

Hi @vipett ,

Achieving your goal is possible, but it involves utilizing advanced DAX/PQ techniques. Essentially, you need to generate a table with a column storing the period, total, and additional columns. This task can be accomplished using either DAX or M. Subsequently, you create a measure to retrieve the desired value based on the specified period/total/extra columns. The structure of your table would resemble the following:

danextian_0-1705920398371.png

Please see attached sample pbix.

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Thanks, did it virtually this way and that worked. 

Created a new crossjoin with a new table with these additional ones and the summarized it all

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.