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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Sedos101
Helper I
Helper I

Using a measure in Line y-axis won't work

Hi Everyone

 

Having issues using a measure in the line y-axis for a cluster for a Line and Clustered Column Chart,

 

the column y-axis is a measure that is using a slicer value when selected to show the resultant outcome.

The second measure i want to display in the y-axis line is using the same slicer value when selected to calculate something else.

However when I drag it in, it says "Can't Display Visualisation".

 

Can someone please help?

 

Thanks

 

1 ACCEPTED SOLUTION
v-henryk-mstf
Community Support
Community Support

Hi @Sedos101 ,

 

Is it possible to provide the relevant test files or the created measure formula? In my test, putting the measure into the line and cluster column chart shows different results according to the slicer properly.

M = CALCULATE(SUM('Table (2)'[value]),'Table (2)'[ID]=SELECTEDVALUE(T1[ID]))

vhenrykmstf_1-1653465317102.png

 

vhenrykmstf_2-1653465342645.png


If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.


Best Regards,
Henry


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

3 REPLIES 3
v-henryk-mstf
Community Support
Community Support

Hi @Sedos101 ,

 

Is it possible to provide the relevant test files or the created measure formula? In my test, putting the measure into the line and cluster column chart shows different results according to the slicer properly.

M = CALCULATE(SUM('Table (2)'[value]),'Table (2)'[ID]=SELECTEDVALUE(T1[ID]))

vhenrykmstf_1-1653465317102.png

 

vhenrykmstf_2-1653465342645.png


If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.


Best Regards,
Henry


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

Sedos101
Helper I
Helper I

Hi 

 

I got it working but now I cannot get the line to be appearing correctly?

 

I am trying to display the legend for the line y- axis as the same as the column legend.

 

However my line only has two points and not one for each Hauler name as seen in the table below the chart...

 

Any help would be greatly apprecaited

 

Thanks 

 

Sedos101_0-1652942449339.png

 

amitchandak
Super User
Super User

@Sedos101 , is it showing some see details or more details, if so click and share details

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.