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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
MRN8840
Helper I
Helper I

Show latest timestamp/data in card

Hi!

 

I have a dataflow which feeds me with data from energymeters (water, heat, electricity) once a day. Sometimes the flow fails and my data is two days old. Hence my reports have 'old' data. Is it possible to make a card with the latest timestamp of my data?

 

My data looks like this:

 

Udklip.PNG

 

Måler_ID: Tag of the specifik meter (I have 62 meters with hourly consumption-readings)

Aflæsning_start: Timestamp beginning of reading

Aflæsning_slut: Timestamp ending of reading

Aflæsning: Conspumption ([Aflæsning_slut]-[Aflæsning_start])

Enhed: Unit - MWh (heat), m3 (water), KWh (electricity)

Aflæsningsdøgn: Date of reading, a calculated coloumn from [Aflæsning_slut].

 

I want to make a card in my report which displays the latest/newest value in [Aflæsning_slut]. That will make it possible for the viewers of the report to know how 'fresh' the data is.

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

maxx(table,[Aflæsning_slut])

View solution in original post

4 REPLIES 4
amitchandak
Super User
Super User

maxx(table,[Aflæsning_slut])

Thanks for your answers!

 

An ekstra question:

 

What If I want to make a LASTDATE for each different meter ('Varme_161591', 'Vand_161592') etc. How would that look? 🙂

@MRN8840,

 

You can use the same measure in different cards and then can apply 'Visual Level Filter' to the cards.

rajulshah
Super User
Super User

Hello @MRN8840,

You can use the following DAX in measure:

Latest Date = LASTDATE([Aflæsning_slut])

 

And you can use this measure in a card.

Hope this helps. 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors