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.
I have a count measure which I'm trying to display in a table with the week number and with the Month name. Some weeks span across the end of a month and my table is return two weekly values (one at the end of the month and one at the end of the actual week.) Can I get the table to display only the end of week value?
As you can see week 14 starts at the end of March and it ends in April. I am getting a value for the last day of March in week 14 and for the last day of week 14. I would like to only see the last day of week 14.
In case it helps here is my count measure:
Solved! Go to Solution.
@calgarygeologis , You need to have column like these in date table and then you can filter on last date
Week End date = 'Date'[Date]+ 7-1*WEEKDAY('Date'[Date],2)
last date = if([Week End date] <eomonth([date],0),[Week End date],eomonth([date],0))
Flag =if([Date] =[last date],1,0)
@calgarygeologis , You need to have column like these in date table and then you can filter on last date
Week End date = 'Date'[Date]+ 7-1*WEEKDAY('Date'[Date],2)
last date = if([Week End date] <eomonth([date],0),[Week End date],eomonth([date],0))
Flag =if([Date] =[last date],1,0)