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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

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 Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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