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
philthegaps
Helper I
Helper I

{Analytics][Line Chart][Version: 2.97.921.0 64-bit]Unable to add a Min Line/Constant Line Y axis

Hi there

 

I use a direct connection to an SSAS Cube, and I can only add a Y or X Constant-Line with a constant value to my Line chart visual. Meaning I can set a fixed value (for instance 6.89) and I see the verrtical bar, but if I add a measure (of type Number/decimal of course), I have this message:

 

Each table argument of 'UNION' must have the same number of columns.
 
What makes me sad is that I cannot add a Minimun Line as well, I get the same message...
 
Does not sound good 😞 

 

2 REPLIES 2
v-yalanwu-msft
Community Support
Community Support

Hi, @philthegaps ;

Can you share more details about this issue? Like screenshots or scenes to get a better understanding?

It makes it easier to give you a solution.


Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Yalan

I think I misunderstood the Analytics Y-Constant axis. We cannot give a Measure as a Value for this field, but only a number, say 6.89.
So instead of using Analytics, my goal is to add a new line in the LineChart, which will be constant number. For instance:

 

CALCULATE(AVERAGE('Table'[Value]), ALL('TABLE'))
 
It should solve my problem. But there is a more simple solution which is to use Percentile in Analytics. However, I I would like to draw a line which corresponds to 120% of the max of the points over a certain period, and of course I cannot do it with the Percentile functionality
 

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.