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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

Switch headers in dynamic matrix built with calculation groups

Hi guys,

 

I'm driving my self crazy with this one. I've used Tabular Editor to create a time intelligence Calculation group and I'm using a parameter to define my measures so that users can build their own dynamic matrix tables by selecting the things they want:

 

Wildrosezuzi_0-1664375992833.png

Wildrosezuzi_1-1664376012621.png

So this means in my values I have the measures and in the column of the matrix I have the time intelligence calculation group (Formula):

 

Wildrosezuzi_2-1664376059131.png

The problem I'm facing is that the business user wants to have the headers of the matrix switched from this current set up:Wildrosezuzi_3-1664376122913.png

To this:

 

Wildrosezuzi_4-1664376150659.png

Meaning that the time and measures should switch places but it's proving impossible with this dynamic matrix table since I have to have the time intelligence formula in the columns and the measures in the values. Any ideas on some DAX that ,can maybe overcome this,or something that can be done in Tabular Editor.

3 REPLIES 3
lbendlin
Super User
Super User

You may want to consider using field parameters instead of calculation groups.

 

As for the crazy column hierarchy - that requires a disconnected table and a crossjoin to fakely convert the measures into columns.

Anonymous
Not applicable

Hi Ibendlin,

 

My mistake in the wording, the measure (Sales figures and Market Share) are done via paramneters and the time intelligence via Calculation groups, to save time and to not have 130 combinations of measures bulk up the file size. Do you think that with this combination of 1 parameter and one calculation group it is still possible to have the disconected table and crossjoin option and if so do you have some article on this subject that I can read on and try implementing the suggested sollution? 

 

Thank you again in advance!

No, i don't think that can be done in a sustainable fashion.  Push back on the user requirement. Your implementation is already complex enough.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors