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.
Hello all!
I'm a bit stuck with calculating Fiscal Month/Year start/end dates.
I have a business_date = 12/30/19 and a fiscal period id =1.
Solved! Go to Solution.
Oops compared month with year. my mistake.Try
month start = minx(filter(table,table[fiscal year]=earlier(table[fiscal year]) && table[fiscal month]=earlier(table[fiscal month])),table[business date])
month end = maxx(filter(table,table[fiscal year]=earlier(table[fiscal year]) && table[fiscal month]=earlier(table[fiscal month])),table[business date])
hi @nerra
Just use this formula as below:
Fiscal Period Start Date 3 = CALCULATE(MIN(BusinessDate[Business Date]),ALLEXCEPT(BusinessDate,BusinessDate[Fiscal Year],BusinessDate[Fiscal Period]))
Result:
Regards,
Lin
Create as new columns in table
month start = minx(filter(table,table[fiscal year]=earlier(table[fiscal year]) && table[fiscal month]=earlier(table[fiscal year])),table[business date])
month end = maxx(filter(table,table[fiscal year]=earlier(table[fiscal year]) && table[fiscal month]=earlier(table[fiscal year])),table[business date])
Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blog -
Winner-Topper-on-Map-How-to-Color-States-on-a-Map-with-Winners , HR-Analytics-Active-Employee-Hire-and-Termination-trend
Power-BI-Working-with-Non-Standard-Time-Periods And Comparing-Data-Across-Date-Ranges
Connect on Linkedin
Oops compared month with year. my mistake.Try
month start = minx(filter(table,table[fiscal year]=earlier(table[fiscal year]) && table[fiscal month]=earlier(table[fiscal month])),table[business date])
month end = maxx(filter(table,table[fiscal year]=earlier(table[fiscal year]) && table[fiscal month]=earlier(table[fiscal month])),table[business date])
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 |
---|---|
110 | |
99 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
110 | |
91 | |
84 | |
66 |