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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
gingerclaire
Helper III
Helper III

Gauge visualisation - set time related target line. Date related measure.

I have a mileage report which looks at how much mileage my drivers have done and how much their lease contract allows over the full term of the contract.

 

I have set up a gauge visual which shows their current mileage and has a max of their full contract mileage over the course of the lease.

 

I want to be able to set the 'target' of the gauge to show where they are in their contract in terms of time. i.e. Tom has a four year contract and has a lease for 10,000 miles per year. So when he is two years into his contract, I would like his target to sit at 20,000. So that I can see if he is over or underusing his mileage.

 

I guess it would have to be a measure relating the most recent submission date of their car report to the date their lease started? bu ti have no idea how to do that 😞

 

I have a measure for current mileage.

My data looks like this:

 

Vehicle lease spreadsheet (I also have a 'date' table and a 'car report' table containing their mileage readings and submission date etc):

Length of leaseMileage allocation per annumFull contract mileageReg NoNameStart of lease
41000040000xxx xxxTom01.02.20
31200036000yyy yyyDave05.06.21
42000080000rrr rrrSally08.06.1999
21400028000ddd dddClaire01.08.2021

 

1 REPLY 1
v-janeyg-msft
Community Support
Community Support

Hi, @gingerclaire 

 

Can you share complete sample data and your desired result? Currently there is only one table and can't be tested.

 

Best Regards,
Community Support Team _ Janey

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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