Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hello,
I have created a Power BI report to log the frequency and location of visits carried out by the gas engineers I work with. I have added a map visualisation to help illustrate this and I want to show how many days it has been since the last visit was carried out at each location. I have created a measure with the following formula in a separate table:
Hi @amitchandak,
Thanks for your response. I tried your suggestion, but unfortunately the map visual is still aggregating the data. I have also tried changing the SharePoint list to make the days since calculation at source, but unfortunately I am still having the same issue, whether the column is a number or text!
If you or anyone else has any other suggestions it would be much appreciated.
Kind regards,
Charlie
@Collins26390 , to me it seem like a column not meausre .
Create a column in the table RealTimeData
Days Since Last Visit = DATEDIFF('RealTimeData'[Date of Last Visit],TODAY(),DAY)
or measure
Days Since Last Visit =
Averagex( 'RealTimeData', DATEDIFF('RealTimeData'[Date of Last Visit],TODAY(),DAY)
or
Days Since Last Visit =
Sumx( 'RealTimeData', DATEDIFF('RealTimeData'[Date of Last Visit],TODAY(),DAY)
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 51 | |
| 37 | |
| 35 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 70 | |
| 64 | |
| 39 | |
| 33 | |
| 23 |