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 Everyone,
With below formula, I've created a column which shows True for all the dates of current quarter.
Current Qtr =
VAR _StartOfQtr = DATE ( YEAR ( TODAY()), FLOOR ( MONTH ( TODAY() ) -1 , 3 ) + 1 , 1 )
VAR _EndOfQtr =CALCULATE( EOMONTH ( _StartOfQtr, 2 ))
RETURN
'Table'[Date] >= _StartOfQtr && 'Table'[Date] <= _EndOfQt
But, I dont for some reason. It is not working for the date/time fields. It is not considering Dec 31st 2023 1:00:00AM belong to current quarter. Not only with december last day of every quarter if the date field having time greater tha 1:00:00AM .
Can anyone help me how to solve this?
Thanks in advance.
Hi @NishanthReddy ,
According to your description, I suggest that you can check the "DATE" table you created. In your screenshot, it shows detailed time periods. And when using the general date table, your formula works fine.
Please refer to the following link about date with different time periods.
Power BI Time Data Processing Summary - Brief Book (jianshu.com)
Best Regards,
Community Support Team _ xiaosun
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 |
---|---|
107 | |
97 | |
75 | |
65 | |
53 |
User | Count |
---|---|
144 | |
103 | |
98 | |
85 | |
64 |