The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi Everybody, I would like to add two new columns to the date table in Desktop (not in the query):
I already have a column for current month:
IsCurrentMonth = IF (YEAR ( Datetable[Date] ) = YEAR ( TODAY () )&& MONTH ( Datetable[Date] ) = MONTH ( TODAY () ), "Yes", "No" )
I would be grateful if you know how to build those two columns above. Many thanks!
Solved! Go to Solution.
This will give you the last Sunday: (as a measure)
This will give you the last Sunday: (as a measure)
Thank you very much Reza. I have the solution now!
User | Count |
---|---|
77 | |
76 | |
36 | |
31 | |
29 |
User | Count |
---|---|
93 | |
79 | |
57 | |
48 | |
48 |