cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

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

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors