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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
donaldo
Helper III
Helper III

Only first and last dates on x-axis

Hi all,

 

I have a table with values filtered by a standard date dimension table.

I have a date slicer setup and want to have a visual of sorts showing only the first and last date on the x-axis - instead of a continuous time series inbetween the two.

 

Is that possible?

 

1 ACCEPTED SOLUTION
Greg_Deckler
Community Champion
Community Champion

Turn off the axis and perhaps use Card visuals to show first and last dates.


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

View solution in original post

3 REPLIES 3
v-kelly-msft
Community Support
Community Support

Hi @donaldo

 

I will show you a workaround:

 

Create 2 measures as below:

 

 

Measure = CALCULATE(MIN('Table'[Date]))
Measure 2 = CALCULATE(MAX('Table'[Date]))

 

Create a line chart and add date and value in the visual, then turn off the X- axis :

Annotation 2020-03-18 154503.png

Create 2 card visuals then put 2 measures above in it : category:off

Finally you will see:

 

Annotation 2020-03-18 154738.png

For the related .pbix file,pls click here.

 

Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!

Hi @v-kelly-msft 


Thanks for the solution. Sorry for the delay in answering. Covid-19 caused priorities to change - but I'm back now.

 

It might be the solution I have to go with, but the request is to not have the values in between the two dates. So ideally a bar chart with only 2 points on the X-axis and only 2 correspnding Y-values. If we span enough time the line chart or whatever inbetween will be very long.

 

There is no way to get it to show just a MIN and a MAX value?

Greg_Deckler
Community Champion
Community Champion

Turn off the axis and perhaps use Card visuals to show first and last dates.


Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors