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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
inescosta
Advocate II
Advocate II

gauge table target

Hello,

 

So I am using a guage to show a measure, that is realted to a slicer so I can have the value for the day I want.

 

I want the gauge to use a dynamic target, because the target for each day is different.

 

I have a table with the target for each day.

 

But I can't the the gauge to read my table as a target.

 

The target table is simple: one column with all the dates in a year and another with the target associated to that day.

 

I want to select a date in the slicer and get in the gauge the target for that date.

 

Thank you,

 

Inês

 

 

 

2 REPLIES 2
Greg_Deckler
Super User
Super User

Haven't tried this in this specific circumstance but you might be able to get there by creating another column "IsToday". Basically (psuedo-code):

 

IsToday = IF(FORMAT(TODAY(),"Short Date") = [Date],1,0)

Then, filter your gauge or report or page to only show IsToday = 1


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!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Hi @inescosta,

I try to reproduce using the following sample data table.

1.PNG

Create a slicer including the date field. Create a gauge visualisation, select the actual value as value level, the target field as target value level. You can choose some calculation used to the selected fields, min, max, sum, average. When you select one value in slicer, the min, max, sum, average of the value is same and equals to itself. For example, I use max function. Please see the following screenshot, when I choose different date in slicer, the value and target change automatically.

Capture2.PNGCapture1.PNG

 

If this is not what you want, please post sample data for further analysis.

Best Regards,
Angelia

Helpful resources

Announcements
July 2024 Power BI Update

Power BI Monthly Update - July 2024

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

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.

Top Solution Authors