Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
HaiNguyen2k4
New Member

I only want to visualize dates on X-axis in a dynamic time frame

I have a table with two columns: order_date and customers. I want to create a line chart [Revenue by dates]. I want to visualize dates on the X-axis between the first date (today) and the last date selected by the slicer.  I use SELECTEDVALUE to get the selected date from the slicer but it doesn't work. 

HaiNguyen2k4_0-1735809260310.png

Please help me find a solution to this. Thanks, guys a lot

 

1 ACCEPTED SOLUTION
uzuntasgokberk
Super User
Super User

Hello @HaiNguyen2k4 ,

Could this be resolved by setting your slicer option to 'Between,' which would display it as a date picker slicer? I believe this approach might be suitable for your case.

uzuntasgokberk_0-1735812490316.png

uzuntasgokberk_1-1735812516960.png

 

Kind Regards,
Gökberk Uzuntaş

📌 If this post helps, then please consider Accepting it as a solution and giving Kudos — it helps other members find answers faster!

🔗 Stay Connected:
📘 Medium |
📺 YouTube |
💼 LinkedIn |
📷 Instagram |
🐦 X |
👽 Reddit |
🌐 Website |
🎵 TikTok |

View solution in original post

1 REPLY 1
uzuntasgokberk
Super User
Super User

Hello @HaiNguyen2k4 ,

Could this be resolved by setting your slicer option to 'Between,' which would display it as a date picker slicer? I believe this approach might be suitable for your case.

uzuntasgokberk_0-1735812490316.png

uzuntasgokberk_1-1735812516960.png

 

Kind Regards,
Gökberk Uzuntaş

📌 If this post helps, then please consider Accepting it as a solution and giving Kudos — it helps other members find answers faster!

🔗 Stay Connected:
📘 Medium |
📺 YouTube |
💼 LinkedIn |
📷 Instagram |
🐦 X |
👽 Reddit |
🌐 Website |
🎵 TikTok |

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.