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
AndreasRom
Frequent Visitor

Setting up a matrix or table

Hello everyone, 

I am new at Power BI (read 14 days of working) and is try to transition from Excel to PowerBI. I have already experienced the PowerBI compared to Excel, but has run into some issues, that I can't figure out if is even possible to create in Power BI. 
In Excel I have made the following (see picture), to follow the growth each month. Is it possible to make a structure simular to this in Power BI? 

AndreasRom_0-1673971885731.png


Thank you for taking your time reading this 🙂 

 

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

Hi @AndreasRom ,

 

Due to the design, Power BI Desktop will render slightly differently than Excel.

According to your description, here are my steps you can follow as a solution.

(1) We can create a measure. 

Measure = var _thismonth=FILTER(ALL('Table'),[Entrence flow]=MAX([Entrence flow])&&YEAR([date])=YEAR(MAX([date]))&&MONTH([date])=MONTH(MAX([date])))
var _lastmonth=FILTER(ALL('Table'),[Entrence flow]=MAX([Entrence flow])&&YEAR([date])=YEAR(MAX([date]))-1&&MONTH([date])=MONTH(MAX([date])))
return 
IF(SUMX(_lastmonth,[Value]) <>BLANK(),
DIVIDE(SUMX(_thismonth,[Value])-SUMX(_lastmonth,[Value]),SUMX(_lastmonth,[Value]))+1,BLANK())

(3) Then the result is as follows.

Picture2.png

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

View solution in original post

johnyip
Solution Sage
Solution Sage

@AndreasRom , it should be possible to render that table (probably by utilizing matrix in PowerBI) you requested with a high resemblance, but that would require A LOT of DAX writing (you may regard that as writing formula in Excel), as well as utilizing relationships between your data and some role-play tables.

 

I have previously done something similar which requires me to do all these and it takes me many many times to figure out the way.

The good news is that I have mimicked the matrix you want, and have uploaded that for your reference. This is complicated, just be warned.

johnyip_0-1674118777361.png

Data:

https://drive.google.com/file/d/1FDHMMyPPSm9PLgXtZLjxiGLCu61n4ovT/view?usp=share_link

 

PowerBI:

https://drive.google.com/file/d/1FDHMMyPPSm9PLgXtZLjxiGLCu61n4ovT/view?usp=share_link

 

 



Please mark my post as the solution if this answers your question!
Appreciate your Kudos !!

View solution in original post

4 REPLIES 4
johnyip
Solution Sage
Solution Sage

@AndreasRom , it should be possible to render that table (probably by utilizing matrix in PowerBI) you requested with a high resemblance, but that would require A LOT of DAX writing (you may regard that as writing formula in Excel), as well as utilizing relationships between your data and some role-play tables.

 

I have previously done something similar which requires me to do all these and it takes me many many times to figure out the way.

The good news is that I have mimicked the matrix you want, and have uploaded that for your reference. This is complicated, just be warned.

johnyip_0-1674118777361.png

Data:

https://drive.google.com/file/d/1FDHMMyPPSm9PLgXtZLjxiGLCu61n4ovT/view?usp=share_link

 

PowerBI:

https://drive.google.com/file/d/1FDHMMyPPSm9PLgXtZLjxiGLCu61n4ovT/view?usp=share_link

 

 



Please mark my post as the solution if this answers your question!
Appreciate your Kudos !!

Thank you SO MUCH for your help, and taking you're time making this! I have never figured this out myself. 😄 


Anonymous
Not applicable

Hi @AndreasRom ,

 

Due to the design, Power BI Desktop will render slightly differently than Excel.

According to your description, here are my steps you can follow as a solution.

(1) We can create a measure. 

Measure = var _thismonth=FILTER(ALL('Table'),[Entrence flow]=MAX([Entrence flow])&&YEAR([date])=YEAR(MAX([date]))&&MONTH([date])=MONTH(MAX([date])))
var _lastmonth=FILTER(ALL('Table'),[Entrence flow]=MAX([Entrence flow])&&YEAR([date])=YEAR(MAX([date]))-1&&MONTH([date])=MONTH(MAX([date])))
return 
IF(SUMX(_lastmonth,[Value]) <>BLANK(),
DIVIDE(SUMX(_thismonth,[Value])-SUMX(_lastmonth,[Value]),SUMX(_lastmonth,[Value]))+1,BLANK())

(3) Then the result is as follows.

Picture2.png

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

Hey! Thank you so much for sharing your solution! It was a massive help! 😄 

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