cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Coan7
Post Patron
Post Patron

measures on rows matrix

Hi, 

 

Is it possible to have measures on rows in a matrix? 

I know there is an option in format-values and turn on "show on rows"

But what I further want to achieve is for example:
            this month    last year   TYD TYD-1
sales
cost
result

 

Sales Cost and results are all measures..

1 ACCEPTED SOLUTION

Hi @Coan7 ,

 

I was assuming that those were columns on your data, can you please a sample share, as @amitchandak  you need to make a use between switch function and an auxiliary table.

 

Regards,

MFelix


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

6 REPLIES 6
MFelix
Super User
Super User

Hi @Coan7 ,

 

On the Matrix option find the option SHOW ON ROWS if you activate that, the measure will be shown as you need.


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



Tnx, I only get one column with the measures.

 

I need  columns for example: last year, TYD and TYD-1

One option is union and summarize

 

union ( summarize( table[group_by1],table[group_by1],"measure","Sales","MTD",<MTD formula>, "YTD",<Ytd Formul>...),

summarize( table[group_by1],table[group_by1],"measure","Cost","MTD",<MTD formula>, "YTD",<Ytd Formul>...)

...

 

)

Group, add constant value for measure name and MTD, QTD, YTD, last year etc.

 

 

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!! !!
Dashboard of My Blogs !! Connect on Linkedin

Learn Power BI Beginners !! Advance Power BI Concepts !! Power BI For Tableau User !! Learn Power BI in Hindi !!
Proud to be a Super User!

Hi @Coan7 ,

 

I was assuming that those were columns on your data, can you please a sample share, as @amitchandak  you need to make a use between switch function and an auxiliary table.

 

Regards,

MFelix


Regards

Miguel Félix


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

Proud to be a Super User!

Check out my blog: Power BI em Português



View solution in original post

amitchandak
Super User
Super User

There is property "show on row".  that can help.

 

But what you are writing splitting meaures into both row and column

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!! !!
Dashboard of My Blogs !! Connect on Linkedin

Learn Power BI Beginners !! Advance Power BI Concepts !! Power BI For Tableau User !! Learn Power BI in Hindi !!
Proud to be a Super User!

Yes, splitting measures into both row and column.

 

Possible workaround would be creating a table with measures names and then using switch.

I was hoping there is another quick way.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.