Power BI: multiple dimensions on chart x-axis and in tables - 2 of a series of 5 on the DAX TREATAS() function
Category, Country, Year on x-axis

Power BI: multiple dimensions on chart x-axis and in tables - 2 of a series of 5 on the DAX TREATAS() function

This extends my previous article on letting user choose the x-axis and y-axis in a chart. All the information, links, and DAX you need is there. This pbix does have a little extra DAX to define the sort order for the attributes on the x-axis:

Attribute Sort Column = SWITCH('AXIS SLICER'[Axis], "Country", "Co" & [Attribute], "Category", "Ca" & [Attribute], "Year", "Y" & [Attribute])

3 links:

previous article

pbix download

live, interactive version

uses Adventure Works DW, so feel free to adapt pbix.

Alina Kapshyk

Senior Business Data Analyst - Contractor Hstep | Py/PBI/ML/SQL/Tableau

4 年

Great Article, thank you for sharing! The link to PBI file is expired, could you pls share it with me [email protected]

回复
Buntri James Guy

Business Intelligence Analyst/Developer - BI & Data Predictive Analytic, Big Data

5 年

Cool trick!

回复
Tiago Giunzioni

Technical and Team Leader | Solution Architect | Data & Analytics

7 年

要查看或添加评论,请登录

Art Tennick的更多文章

社区洞察

其他会员也浏览了