Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
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])
User | Count |
---|---|
103 | |
90 | |
78 | |
72 | |
68 |
User | Count |
---|---|
110 | |
96 | |
95 | |
74 | |
71 |