cancel
Showing results for 
Search instead for 
Did you mean: 
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
November 2022 Update

Check it Out!

Click here to read more about the November 2022 updates!

Microsoft 365 Conference â__ December 6-8, 2022

Microsoft 365 Conference - 06-08 December

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.