Forum Discussion
DAX help
- 4 years ago
Hi,
I am not sure about which dates are your holidays, but I tried to create the sample like below.
Please check the below picture and the attached pbix file.
All measures are in the attached pbix file with numbering the steps from 01 to 05.
In the sample, I assigned Saturday and Sunday as holidays, but you can assign your own holidays in your calendar table, and then apply the similar logic as what are in the attached pbix file.
I hope this helps to apply and write similar measures for your data model.
Hi,
I am not sure about which dates are your holidays, but I tried to create the sample like below.
Please check the below picture and the attached pbix file.
All measures are in the attached pbix file with numbering the steps from 01 to 05.
In the sample, I assigned Saturday and Sunday as holidays, but you can assign your own holidays in your calendar table, and then apply the similar logic as what are in the attached pbix file.
I hope this helps to apply and write similar measures for your data model.
- Anonymous4 years agoNot applicable
Thanks Jihwan_Kim , this is the exact solution I want. Thanks for your effort and time.