Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi, how can one build a regular line chart from two measures? The X axis field in the line chart doesn't accept one of these measures.
Hi @Anonymous ,
You cannot use Measures as an AXIS or a Legend.
Regards,
Harsh Nathani
Hi @harshnathani Do you know if I could instead use columns (in the report mode) as Axis?
HI @Anonymous ,
You can use Columns as AXIS.
But can you share what you are trying to acheive and some sample data
Thanks,
HN
Hi @amitchandak no, neither Legend nor Axis accept the measure. I can only add this measure into Values, Secondary Values and Tooltips.
@amitchandak Is your Date a measure?...I need to add a measure in the Axis field.
Hi @Anonymous ,
Currently measure can't be used in Axis fields or Legend fields of line chart visual. Please check if the workarounds in the following threads can help you.
How to use a measure as an axis in Power BI
Dynamically change chart axis in Power BI
Best Regards
Rena
Hi @Anonymous Do you know if I could instead use columns (in the report mode) as Axis?
Hi @Anonymous ,
Could you please provide some sample data, expected result and the formulas of measure which you want to use in X Axis of line chart? It is better if you can explain the calculation logic of this measure. We will check if it can be created as calculated column, then use the new calculated column in line chart. Thank you.
Best Regards
Rena
hi @Anonymous Thanks for your replies. I've sent you pm (Sent: 07-15-2020 03:13 AM)
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 37 | |
| 33 | |
| 29 | |
| 27 |
| User | Count |
|---|---|
| 133 | |
| 104 | |
| 61 | |
| 59 | |
| 55 |