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
snifer
Post Patron
Post Patron

modify table during loading queries

I got a table where accounting table where 

 

accountamontmonth
10021
12031
13041
14051
10022
12062
13002
14072

 

I want display matrix,

columns month

 

row account

 

how i can do if i want display as row all account

and then have account 120-100

can i do this in querying?

2 REPLIES 2
Greg_Deckler
Community Champion
Community Champion

Can you show an example of the output you want?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

 

the result must be a MATRIX:

I guess the best way to do it is by making a calculated table but i don't know how to proceed

ref.(https://community.powerbi.com/t5/Desktop/Power-BI-desktop-create-a-Calculated-Row-in-Matrix-Visualis...)

 

 month  
matrix12 
account   
10022 
120-130-16 
14057 

I need to display a matrix but I need to have a calculation in the middle row of the matrix.

 

in the example account 120- account 130 = for month 1 ->3-4=-1

for month 2-> 6-0=6

@Greg_Deckler 

 

this is how I wish to display it

regardings months I would need to display in the matrix the last 12 months running and not the calendar year

Capture.PNG

Helpful resources

Announcements
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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