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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Ricky190
New Member

Linking a measure to a value so I can add to axis

Hi,

 

Im trying to get my measures which are Good, Poor Neither and dont know to display like the top graph. However I don't know how I would link my measures which are calculating a percentage to show up on the X axis rather than a Legend.

 

Ricky190_0-1626776102423.png

 

1 ACCEPTED SOLUTION

Hi @Ricky190 ,

 

Create a new table:

 

vkkfmsft_0-1626934343052.png

 

Then create a measure linking these measures to the x-axis:

 

 

Measure = 
SWITCH(
    MAX('Table'[Status]),
    "Good", [Good],
    "Neither good nor poor", [Neither good nor poor],
    "Poor", [Poor],
    [I don't remember]
)

 

vkkfmsft_1-1626934399379.png

 

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.

Best Regards,
Winniz

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

View solution in original post

4 REPLIES 4
Ricky190
New Member

Thanks for your help but im not sure how i would apply this? here is an example of one of my measures:

Ricky190_0-1626778231640.png

So its baically pulling data from 3 different columns and working out what percentage said Good.

Hi @Ricky190 ,

 

Create a new table:

 

vkkfmsft_0-1626934343052.png

 

Then create a measure linking these measures to the x-axis:

 

 

Measure = 
SWITCH(
    MAX('Table'[Status]),
    "Good", [Good],
    "Neither good nor poor", [Neither good nor poor],
    "Poor", [Poor],
    [I don't remember]
)

 

vkkfmsft_1-1626934399379.png

 

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.

Best Regards,
Winniz

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

Brilliant works a treat!

Wimverh
Resolver IV
Resolver IV

For this type of graph, you would need 1 measure with 4 descriptions.

like this: 

Wimverh_0-1626777125707.png

then you can create it like this

Wimverh_1-1626777168185.png

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.