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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
rsharma81
Regular Visitor

Quarte wise Data in Matrix Power BI

Hi,

I am trying to create a table in matrix which will show the quarterwise Budget, Forecast and Actuals. The below is the output I am getting while putting the data in the matrix in Power BI.

 Q1Q1Q1Q2Q2Q2Q3Q3Q3Q4Q4Q4
 BudgetForecastActualBudgetForecastActualBudgetForecastActualBudgetForecastActual
A            
B            

 

However, I want this is to be show in other way where Budget will show with all the quarters, then Forecast and so on. for Example.

 

 BudgetBudgetBudgetBudgetForecastForecastForecastForecastActualsActualsActualsActuals
 Q1Q2Q3Q4Q1Q2Q3Q4Q1Q2Q3Q4
A            
B            

 

Any help in this regards is highly appreciated.

 

Thanks,

Rakesh

1 ACCEPTED SOLUTION

Hi @rsharma81 

You can use disconnected table + dynamic measures, I didn't find an example with the same scenario as yours, but the method in the linked blog post has the same logic.
You need to create a table with the wanted format of hierarchies and order columns and use the selectedvalue() DAX function.

https://exceleratorbi.com.au/building-a-matrix-with-asymmetrical-columns-and-rows-in-power-bi/?v=885...

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

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

5 REPLIES 5
rsharma81
Regular Visitor

Hi Rita,

 

Thanks for the reply, however, In this video an addin tool Tabular Editor is required to perform the task. Given a limitation in my office laptop I can't use Tabular Editor. Therefore, a solution is required in Power BI or if with DAX. Any help is really appreciated. 

 

 

With new versions, we have calculated groups "in-house".

https://www.youtube.com/watch?v=vAnb3e1NCjM

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

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Hi Rita,

 

Thanks, It is really useful however, it seems that the Power BI installed on my system is before October and hence this option of Calculation is not available in it. Any other way we can achieve it?

 

Thanks for your kind help. 

Hi @rsharma81 

You can use disconnected table + dynamic measures, I didn't find an example with the same scenario as yours, but the method in the linked blog post has the same logic.
You need to create a table with the wanted format of hierarchies and order columns and use the selectedvalue() DAX function.

https://exceleratorbi.com.au/building-a-matrix-with-asymmetrical-columns-and-rows-in-power-bi/?v=885...

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

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile
Ritaf1983
Super User
Super User

Hi @rsharma81 
You can achieve it with calculation groups, please refer to the linked video :

https://www.youtube.com/watch?v=q-zFoQfBHXM

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

 

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.