Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
meerzaheenn
Regular Visitor

Fixed date dax calculation

Hi,

 

I'm very new to Power BI and thus, I'm not sure how to properly ask the question I have.

 

This is my requirement:

 

My SQL currently holds 7 days worth of data.

 

APMS DATE.PNG

Job does not run on weekends and thus Saturday and Sunday delta will be available on Tuesday on PBI report

Monday's delta will be available on Wednesday on PBI report

Tuesday's delta will be available on Thusday on PBI report

Wednesday's delta will be available on Friday on PBI report

Thursday's & Friday's delta will be available on Monday on PBI report

 

Sample Data:

APMS DATE2.PNG

 

I added Day of the week and Weekday and tried to fingure top N on the DATE column but it not did work as expected

 

Its very complicated for me. If I can get some help to approach this, it will be great

 

Thank you!

 

 

 

3 REPLIES 3
v-lili6-msft
Community Support
Community Support

hi  @meerzaheenn 

What is your expected output for this sample data?

Please see this post regarding How to Get Your Question Answered Quickly:
https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

 

Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
simrantuli
Continued Contributor
Continued Contributor

Hi,

 

Not clear what exactly you want to achieve in Power BI. Would be great if you could explain a bit more.

 

Regards

amitchandak
Super User
Super User

@meerzaheenn , not very clear with to me.

do you only want to work with work day

part of this can help https://community.powerbi.com/t5/Community-Blog/Travelling-Across-Workdays-Decoding-Date-and-Calenda...

 

Or do you need rank

For Rank Refer these links
https://radacad.com/how-to-use-rankx-in-dax-part-2-of-3-calculated-measures
https://radacad.com/how-to-use-rankx-in-dax-part-1-of-3-calculated-columns
https://radacad.com/how-to-use-rankx-in-dax-part-3-of-3-the-finale
https://community.powerbi.com/t5/Community-Blog/Dynamic-TopN-made-easy-with-What-If-Parameter/ba-p/3...

 

Can you share sample data and sample output in table format?

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.