The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi peeps,
i try to describe my issue as good and as clean as possible:
I imported a dataset from SAP via Import 2.0.
Therefore i have an "amount" column from which the current numbers are pulled when specific items are pulled in (lets say sth. like Storecodes/Countries,....).
Additionally, we have 2 years to take a look on (Current Year = CY, Last Year = LY). Plus, there is a tag thats needs to be pulled in for the fiscal year. Meaning the values for LY needs to be defined by FiscalYear20, the ones for CY by FiscalYear21. Furthermore, a "Week" per year is defined that needs to be connected to the right fiscal year. Example: 2001 (first week of 2019!) needs to be calculated by amount, FiscalYear(19) and so on (around 4 items).
I defined different measure for visualisations that work perfectly. Now i want to calculate a YoY performance and i don't know the best way of doing that. I tried with Calculate(), but i know it does not work with measures. So I tried calculate and filter, but suddenly, i was not sure and was thinking if it is better to define 2 seperate measures and calculate them afterwards as a variance/difference.
Solved! Go to Solution.
Hi @NovaBI ,
Please check if the following documentations can help you. If no, please provide some sample data and your expected result, later will provide the suitable formula for your scenario.
POWER BI – YEAR OVER YEAR (YOY) REPORTS USING SAMEPERIODLASTYEAR
Complex Filter Conditions In Power BI Reports Using Visual-Level Filters And Measures
Favorite Quick & Easy DAX: Multiple FILTER Criteria
Best Regards
Rena
forgot the minus here:
I tried sth. like XYZ =
Calculate(Sum(table1)[Amount]), Filter[table1,table1[CY Testcode])
%
Calculate(Sum(table1)[Amount]), Filter[table1,table1[PY Testcode])
Hi @NovaBI ,
Please check if the following documentations can help you. If no, please provide some sample data and your expected result, later will provide the suitable formula for your scenario.
POWER BI – YEAR OVER YEAR (YOY) REPORTS USING SAMEPERIODLASTYEAR
Complex Filter Conditions In Power BI Reports Using Visual-Level Filters And Measures
Favorite Quick & Easy DAX: Multiple FILTER Criteria
Best Regards
Rena
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
108 | |
76 | |
66 | |
52 | |
50 |
User | Count |
---|---|
121 | |
118 | |
77 | |
64 | |
63 |