cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kiranbchitari
Frequent Visitor

How to display latest data on cards and gauge

Hi,

I am getting data from the IoT devices and I am dumping those data to the cosmos Db every 5 min. And I have connected the cosmos Db to power bi through inbuilt power bi connector. So every 5 min I am getting new data, it also has a date and time column. Now, how can I show the latest data(Latest data sent to cosmos) based on the time on the cards and gauge?

 

Thanks

1 ACCEPTED SOLUTION
v-frfei-msft
Community Support
Community Support

Hi @kiranbchitari,

 

To create a measure to display the latest date using the formula.

 

latest date = CALCULATE(MAX(your table[date]),ALL(your table))

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

View solution in original post

2 REPLIES 2
v-frfei-msft
Community Support
Community Support

Hi @kiranbchitari,

 

To create a measure to display the latest date using the formula.

 

latest date = CALCULATE(MAX(your table[date]),ALL(your table))

Regards,

Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

View solution in original post

Hi @kiranbchitari,

 

Does that make sense? If so, kindly mark my answer as the solution to close the case please. Thanks in advance.


Regards,
Frank

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Helpful resources

Announcements
PBI_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Get Ready for Power BI Dev Camp

Microsoft named a Leader in The Forrester Wave

Microsoft received the highest score of any vendor in both the strategy and current offering categories.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Top Kudoed Authors