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
Anonymous
Not applicable

Displaying date of Latest date of data in report

Hi Folks, I thought that i had this issue sorted but i didnt... I am trying to show my users the date till the data is updated in the report. What i cleverly did and though its pretty simple is that i created a New Column using the formula below....
Lastest_Date= MAX(Customer_OrderDate) and this gave me what i wanted... however since the report has RLS the report gets filtered for that perticular user and let say that the data is updated till 10th Dec however the user who is viewing the report has the data only till 8th Dec so the formula i used shows 8th Dec instead of 10th Dec. 

Please note i dont want to show the  refesh date/time.. Does someone know a way how to do it ?

Thanks

Shariq

1 ACCEPTED SOLUTION

@Anonymous based on your input, seems like you have to send update date to data model from your data source, or create a table in power query using group by to get max date from your order table use that date to show as update date.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

View solution in original post

6 REPLIES 6
v-chuncz-msft
Community Support
Community Support

@Anonymous,

 

You may add custom column in Query Editor or calculated column in DAX, not measure.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

@v-chuncz-msfti added a column not a measure which was derived from Customer_Order_date however since it is derived from the customer order date and the report has Row level security that that will change as per the user logged in...

 

@Anonymous,

 

If convenient, share us a complete example.

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Greg_Deckler
Super User
Super User

Perhaps just create a calculated column that has a formula of TODAY(). This will get refreshed when the data refreshes and contain the current date but it will be the same for all rows. Might also work to create a calculated column of MAX([Customer_OrderDate]) and it would be the same for all rows and you could use that.


@ 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...
Anonymous
Not applicable

@Greg_Deckler i tried both the ways..  TODAY() gets me the system date regardless of the data which is incorrect, i need to show the date till the data is update then which led me to use Max of Order date, now in the report i am using row level security so if the max order date in the data is 13th Dec but the user viewing the report has only till 10th the MAX function will show 10th Dec which is also misleading...

@Anonymous based on your input, seems like you have to send update date to data model from your data source, or create a table in power query using group by to get max date from your order table use that date to show as update date.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

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.