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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Bartek_Smith
Regular Visitor

Matrix component - order question

Hi, 

PowerBi is sitll a new tool for me... my comapny is changing from Tableau to PowerBi. Trying to migrate some Tableau's report to PowerBi I stucked in with matrix component. I need to create a table where each value is deviced per months, like "Zuzycie_tot" and below this name are presented values in selected months, then next value "Koszt_tot" with all coresponding month...but I cannot set this order in PowerBI. Is it possible to do this in PowerBI?  If yes, how to do this modyfication?

I have attached the scrrnshots from tableau and powerBI.

 

 

Tableu:

Bartek_Smith_0-1773828807752.png


PowerBI:

Bartek_Smith_1-1773828918845.png

 



1 ACCEPTED SOLUTION
v-saisrao-msft
Community Support
Community Support

Hi @Bartek_Smith,

Please provide PBIX that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information. Do not include anything that is unrelated to the issue or question.
Please show the expected outcome based on the sample data you provided.

Need help uploading data? 

https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI…
...
https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/144…

 

Thank you.

 

View solution in original post

8 REPLIES 8
v-saisrao-msft
Community Support
Community Support

Hi @Bartek_Smith,

I'm checking in to see if your issue has been resolved. If not, please share the PBIX file and let us know if you still need assistance.

 

Thank you.

 

Thank you.

v-saisrao-msft
Community Support
Community Support

Hi @Bartek_Smith,

Please provide PBIX that covers your issue or question completely, in a usable format (not as a screenshot).
Do not include sensitive information. Do not include anything that is unrelated to the issue or question.
Please show the expected outcome based on the sample data you provided.

Need help uploading data? 

https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI…
...
https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/144…

 

Thank you.

 

FBergamaschi
Super User
Super User

Hi @Bartek_Smith 

you can obtain this result in Power BI where you see for each month both calculations in values, see the settings of the matrix on the right in red squares

 

FBergamaschi_0-1773830448015.png

 

If this helped, please consider giving kudos and mark as a solution

@me in replies or I'll lose your thread

Want to check your DAX skills? Answer my biweekly DAX challenges on the kubisco Linkedin page

Consider voting this Power BI idea

Francesco Bergamaschi

MBA, M.Eng, M.Econ, Professor of BI

 

Hi I think this not solve the case. Still 2 measures are ordered by month, not 1 measure and values per months

i.e in Tableau

Bartek_Smith_0-1773837048209.png

 

danextian
Super User
Super User

Hi @Bartek_Smith 

Currenly, measures are always at the lowest level of the hierahcy. The workaround is materialize the measures in a disconnnected table and reference that table in a conditional measure to return the desired value.

danextian_0-1773830374527.pngdanextian_1-1773830384059.png

Please see the attached sample pbix.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Hi @danextian.

 

This is a good soluction, but it will also increase model size.

 

Is there a better solution? using visual calculations maybe.

It wil increase the model size but the change should be negligible. You are not creating another table containing the results of your measures but simply a table that holds the measure names.  If there are two measures, you will be creating a table of two rows only.





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Is this solution efficeint? If I good understand I need to do a copy of my orginal table measures.
My source has aroud 800k records sa i double them

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors