The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hello,
Is there a Dax code to get the first date of any given ISO year?
When I want to calculate the first date of a calender year then I use something like:
Solved! Go to Solution.
In case anyone is interested, I figured out a solution:
In case anyone is interested, I figured out a solution:
Hi Roy, it does not allow for the first isoday being in the previous calendar year. That will be a problem in a year.
It is because the First Date is looking at the current year of the row, you want it to look at the first of januari of the iso year; so FirstDate = date( YearISO, 1, 1 )
User | Count |
---|---|
24 | |
10 | |
8 | |
7 | |
6 |
User | Count |
---|---|
32 | |
12 | |
10 | |
10 | |
9 |