cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper III
Helper III

Calculation to display specific dates on a card - previous workday

Hey Guys,

 

I have a card that currently pull data from excel sheet with a date and and amount. I currently manually change the day to show previous days amount. The problem I am having is I want this automated to show

 

for Monday it will show friday, saturday and sunday

Tuesday will show monday

Wednesday will show tuesday

Thursday will show wednesday
Friday will show thursday

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Calculation to display specific dates on a card - previous workday

@benjaminhoang,

 

You may use WEEKDAY Function in nested IF Function or SWITCH Function to add a measure.

http://community.powerbi.com/t5/Desktop/How-to-display-total-document-number-for-last-month-data-bas...

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.

View solution in original post

1 REPLY 1
Highlighted
Community Support
Community Support

Re: Calculation to display specific dates on a card - previous workday

@benjaminhoang,

 

You may use WEEKDAY Function in nested IF Function or SWITCH Function to add a measure.

http://community.powerbi.com/t5/Desktop/How-to-display-total-document-number-for-last-month-data-bas...

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.

View solution in original post

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Upcoming Events

Experience what’s next for Power BI

See the latest Power BI innovations, updates, and demos from the Microsoft Business Applications Launch Event.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Top Solution Authors
Top Kudoed Authors