Forum Discussion
Anonymous
8 years agoNot applicable
Business Day Table
I have a calendar table that ranks business days pretty good as follows: Rank =
RANKX(
FILTER(
'Calendar',
Calendar[If work day] = 1
&& Calendar[Month] = EARLIER(...
Anonymous
8 years agoNot applicable
The picture below is an example
Anonymous
8 years agoNot applicable
Is this possible?
- v-xjiin-msft8 years agoSolution Sage
Hi Anonymous,
Sorry for the delay.
It should be feasible. Could you please share us your pbix file with One Drive or Google Drive if possible? So that I can make some proper tests.
Thanks,
Xi Jin.- Anonymous8 years agoNot applicable
v-xjiin-msft I have uploaded an example file here: https://1drv.ms/u/s!AnhLSXIUf4QnadPIoMdTswn3tjk
Thanks
- v-xjiin-msft8 years agoSolution Sage
Hi Anonymous,
Check this, hope it works for you:
Business Day = VAR RankID = RANKX( FILTER( 'Calendar', Calendar[If work day] = 1 && Calendar[Month] = EARLIER( Calendar[Month] ) ), Calendar[Date],,ASC ) Return IF('Calendar'[If work day]=1, RankID, RankID-1)Thanks,
Xi Jin.