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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
BracePBI
Frequent Visitor

How to show up row wise monthly and Column wise Calculated Columns result in Power BI

Please let me know how to achive this output in matrix visual .  I could achieve the sequence of Calmonths  but unable to display the caculated columns in below way as expected.   Kindly suggest if any special data modelling is required or any other solution.

BracePBI_1-1636062932581.png

 

Thank you all

4 REPLIES 4
BracePBI
Frequent Visitor

Thank you Alexisolson for the document. its really helpful and i have a question .
My header data of calmonths changes with excel source files.  In that case will this senario work?

I see in your case it is only for three years 

Thank you

It's possible but you'll probably want to unpivot your months when you load the data to make it easier to work with dynamically.

 

In the example I linked, both the product and the are dynamic in the way they builder the header table.

Hi Alexi,
 I tried to unpivot the months but please let me know how to get sequence of months followed by Calculated columns with out Grouping .

I tried to modify your script  but i could not.

BracePBI_0-1636288329510.png

 






AlexisOlson
Super User
Super User

If you want to mix dimensions and measures as part of the same header, then you're going to have to do some work.

Here's an example I wrote for how you can force this kind of thing to work if you really need to:

Custom aggregate column in power bi matrix

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors