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
Anonymous
Not applicable

Line plot with two measure

Hello, I have create two measure with the following DAX:

Dynamic indes:

Index_Measur 2 =
CALCULATE (
COUNTROWS ( Tabelle1 ),
FILTER ( ALLSELECTED ( Tabelle1 ), Tabelle1[Faktor 1] < MAX ( Tabelle1[Faktor 1] ) )
)

and a moving average
 
Moving Average_Measure IndexMeasure =
VAR Window_A = 10
VAR myResult =
SUMX(
FILTER(
Tabelle1,
Tabelle1[Index_Measur 2]> Tabelle1[Index_Measur 2]-Window_A &&
Tabelle1[Index_Measur 2] <=Tabelle1[Index_Measur 2]
),Tabelle1[Wert]
)
RETURN CONVERT(myResult/Window_A,DOUBLE)
 
My simple question:
How can I visually represent the data in a (e.g. line plot)?
 
 Thank you
 
3 REPLIES 3
amitchandak
Super User
Super User

@Anonymous , You can use them both on Y-axis/Values in a line visual. If you need a single value for one line then you can use that in the analytics pane Constant Line - > Fx.

 

What is the challenge you are facing when you add two measures?

Anonymous
Not applicable

The problem is that I cannot drag the measure onto the x-axis or y-axis. They are not accepted by the visual.

Hi, @Anonymous 

Currently you cannot place measure fields on axixs.

If possible, please try creating a new table or calculated column.

 

Best Regards,
Community Support Team _ Eason

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.

Top Solution Authors