Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I have 9 columns I am attempting to put in one stacked/line chart. Essencially I have some scoring values for the 9 columns and want the line to compare it to all the other data not included in the slicers which I have through measures.
Columns: Inventory, Account, Data, Config, Malware, Recovery, Awareness, Provider, Response.
Currently I dropped them all into the "Column y-axis" which looks horible. The 2 green dots are measures grabbing the first and second columns (Inventory & Account) but as you can see they are just centered.
I am wondering how I go about making it look something more along these lines? The data below was all pulled from one column using calculations and works great.
I am unsure how to break each column into its own "Category" and then associate the calculated values to them.
Heres a quick look of the overall visual, there will be another 7 of the _# Average added for a complete picture.
Solved! Go to Solution.
Hi @Bahalzamon
It happens because the graph is without x axes.
The columns are just a set of measures that you put there.
To make it in the desired form you can create a table for all the measures and use a selectedvalue Dax formula.
Please refer to my solution in the linked post, it includes pbix with example (you can ignore the question because the problem is not like yours, but the solution is the same )
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Hi @Bahalzamon
It happens because the graph is without x axes.
The columns are just a set of measures that you put there.
To make it in the desired form you can create a table for all the measures and use a selectedvalue Dax formula.
Please refer to my solution in the linked post, it includes pbix with example (you can ignore the question because the problem is not like yours, but the solution is the same )
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Worked perfectly, thank you, below is what mine ended up being. Only down side was that it could only pull in measures into this measure so I had to make measures for all the columns ([_1 Average], [_2 Average, ...]) but that was easy enough.
The Visual.
Code for Measure
_RA Category Avg =
SWITCH(
SELECTEDVALUE('_RA Category Table'[Category Short]),
"Inventory",[_1 Average],
"Account",[_2 Average],
"Protection",[_3 Average],
"Configuration",[_4 Average],
"Malware",[_5 Average],
"Recovery",[_6 Average],
"Awareness",[_7 Average],
"Provider",[_8 Average],
"Response",[_9 Average],
BLANK()
)
Manual Table
Happy to help 🙂
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
121 | |
79 | |
48 | |
38 | |
31 |
User | Count |
---|---|
192 | |
79 | |
70 | |
50 | |
42 |