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
Hey guys,
Is is possible to filter out the X axis by values in a Line Graph? I have 3 values, but I want to be able to filter out the values by their own Date, currently they all end at March 2019. I would something like: (Values A ends at Jan 2019, Values B ends at November 2018 and Values C ends at August 2018). Is this only possible through the equation of the values itself?
Thanks!
Solved! Go to Solution.
You would need to write a DAX measure that senses the date and returns a value (or not) based on that date. I recommend setting up a matrix while you write the measure. It helps you “see” the problem like and Excel problem.
You would need to write a DAX measure that senses the date and returns a value (or not) based on that date. I recommend setting up a matrix while you write the measure. It helps you “see” the problem like and Excel problem.
Hi @Anonymous ,
1 To create a date table as below and insert a calculated column in it. After that , we can create relationship between it and the fact table.
date = CALENDARAUTO()
YM = FORMAT('date'[Date],"yyyymmm")
2. Then we can creater a line visual as below.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 36 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 128 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |