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 have the below line and stacked column chart. The FY2023 sum is up to last month which is Feb'2023 but FY2021 and FY2022 is full year. How to show the sum for each year up to Feb only? E.g FY2021 up to Feb'2021, FY2022 up to Feb'2022 and FY2023 up to Feb'2023.
Hi,
Share the download link of the PBI file.
And you can create fiscal year and month
Measure =
VAR _NumberLastMonth = MONTH( EOMONTH(TODAY(),-1))
VAR _Result = CALCULATE([sales],'Calendar'[monthnumber]<=_NumberLastMonth)
RETURN
_Result
Measure =
VAR _NumberLastMonth =
CALCULATE(MAX('Calendar'[Fiscal month]),'Calendar'[Date]= EOMONTH(TODAY(),-1))
VAR _Result = CALCULATE([sales],'Calendar'[Fiscal month]<=_NumberLastMonth)
RETURN
_Result
I'm not sure, but you can try writing the measure like this
Measure =
VAR _NumberLastMonth = CALCULATE(MAX('Calendar'[Fiscal month]),'Calendar'[Date]= EOMONTH(TODAY(),-1))
VAR _Result = CALCULATE([sales],'Calendar'[Fiscal month]<=_NumberLastMonth)
RETURN
_Result
Hi @Ahmedx , the financial year starts from october and ends in september. How to adjust the monthnumber for this ?
you can give your file to see how we can help. I especially need to see your calendar table
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 |
---|---|
109 | |
99 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
102 | |
87 | |
64 |