Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

Line plot with two measure

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

Dynamic indes:

Index_Measur 2 =
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 =
Tabelle1[Index_Measur 2]> Tabelle1[Index_Measur 2]-Window_A &&
Tabelle1[Index_Measur 2] <=Tabelle1[Index_Measur 2]
My simple question:
How can I visually represent the data in a (e.g. line plot)?
 Thank you
Super User
Super User

@F-Wil , 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?

Power BI Features || Datamarts: || Field Parameters :
Time Intelligence Decoded : || 50+Power Query List Functions : Learn Power Query List
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! Proud to be a Super User! !!
Dashboard of My Blogs !! Connect on Linkedin !! Subscribe to my youtube Channel !!
Want To Learn Power BI | Beginners !! Advance Concepts !! Power BI For Tableau User !!

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

Hi, @F-Wil 

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

September Update

Check it Out!

Click here to learn more about the September 2022 updates!

Power BI Show episode 9

The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

Power BI Dev Camp Session 25

Ted's Dev Camp - August 25, 2022

Watch Session 25 of Ted's Dev Camp.

Top Solution Authors