cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mail2mazhar
New Member

Use column names as X Axis and avg of values as y axis

I have following table with many columns. Last three column headers I want to use as values on x axis and plot bar chart to show avg of values within this columns as y axis

mail2mazhar_0-1655907084780.png

 

Expected result something like-

mail2mazhar_0-1655907261759.png

 

 

 

1 ACCEPTED SOLUTION
CNENFRNL
Super User
Super User

Just unpivot the data table; voilà, that's all.


Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is beyond their comprehension!

DAX is simple, but NOT EASY!

View solution in original post

1 REPLY 1
CNENFRNL
Super User
Super User

Just unpivot the data table; voilà, that's all.


Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is beyond their comprehension!

DAX is simple, but NOT EASY!

Helpful resources

Announcements
September Update

Check it Out!

Click here to learn more about the September 2022 updates!

Power BI Show episode 9

The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

Power BI Dev Camp Session 26

New Date - Check it Out!

Mark your calendars and join us on Thursday, October 6 at 11a PDT for a great session with Ted Pattison!

Top Solution Authors