March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Good afternoon, I hope you are well.
I need to make a dashboard with KPIs affected by time but my user is not going to select them.
For example, I need to show the total sales per hour, day, week, month and accumulated.
For example: If I want to know the sales of the previous day, I add the sales and select the date of yesterday and that's it. But now I can't find a way to do it or the right material to help me solve this problem.
Someone from this community can help me?
Thank you
Best regards
Ana
Polite reminder.
Please watch the video and use the day offset to get the values for previous day
https://www.youtube.com/watch?v=XjVLaVLluYE
Remeber we are unpaid volunteers.
Click the thumbs up and accept as solution button.
One question per ticket please. If you need to extend your request then please raise a new ticket.
You will get a quicker response and each volunteer solver will get the kudos they deserve. Thank you !
Do this training and all subsequent calandar training (is all free)
Thanks for reaching out for help.
I have helped you, now please help me by giving kudos.
Remeber we are unpaid volunteers.
Click the thumbs up and accept as solution button.
One question per ticket please. If you need to extend your request then please raise a new ticket.
You will get a quicker response and each volunteer solver will get the kudos they deserve. Thank you !
Thank you!, but it does not show me how to calculate the total sales of the previous day.-
Hi @Syndicate_Admin ,
Maybe you can try DATEADD() function.
some measures like this:
CALCULATE( SUM('Table'[sales]), DATEADD( 'Date'[Date] , -1 ,DAY )) // previous day
CALCULATE( SUM('Table'[sales]), DATEADD( 'Date'[Date] , -1 ,MONTH )) // previous month
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
132 | |
90 | |
88 | |
64 | |
58 |
User | Count |
---|---|
203 | |
141 | |
107 | |
73 | |
70 |