Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I am looking to create a Date table with which I can organise my Data by Fiscal Year dates.
Our month end/quarter ends are the last Saturday of each month
Please can anyone advise how to put this together?
Thanks
Chris
Hi @Anonymous ,
I think the blogs can help you.
Create a Date Dimension in Power BI in 4 Steps – Step 1: Calendar Columns
Create a Date Dimension in Power BI in 4 Steps – Step 2: Fiscal Columns
Create a Date Dimension in Power BI in 4 Steps – Step 3: Public Holidays
Best Regards,
Xue Ding
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Try this calculated table:
Hi @Anonymous
You can add the below Column, it will return True for the last Sunday of the Month, also if you are looking to return the last Sunday of every Quarter just replace Year Month with Year Quarter column in ALLEXEPT.
Column =
VAR __lastSunDate =
CALCULATE(
MAX( 'Calendar'[Date] ),
ALLEXCEPT( 'Calendar', 'Calendar'[Year Month] ),
'Calendar'[Day of Week] = "Sun"
)
RETURN
__lastSunDate = 'Calendar'[Date]
Hi Mariusz,
Thanks for this, I now have a column which returns True on the last date of each Month/Quarter as you have described.
PLease can you advise how I can now sort my Date Table using this, to differentiate between Quarters, using the True/False Column you have kindly provided?
The desired outcome here is to have my Date table organised by a column Formatted as Q1,Q2,Q3,Q4 - and each quarter ending on the last Sat of each quarter?
Thanks in advance,
Chris
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
100 | |
80 | |
64 | |
57 |
User | Count |
---|---|
146 | |
110 | |
93 | |
84 | |
67 |