Forum Discussion
SAMEPERIODLASTYEAR based on Running Days
HI Amit,
Not to compare Weekday of CY with Weekday of PY.
But, to compare, Running days no. of Current year with Running Day no. of Previous year.
Running Day no. is calculated as you said earlier using DAX CODE.
- Anonymous4 years agoNot applicable
Hi vijay273162 ,
I can see "PY" and "CY" in your screenshot, are they from same table or from two different tables. I know they have the same format. If they are from two tables, I suggest you to combine them into one table in Power Query Editor.
For reference: Append queries
Could you share a sample file with me and show me the result you want? This will make it easier for me to find the solution.
Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.