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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Sept PBI Carousel

Power BI Monthly Update - September 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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