Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hello,
I'm a beginner with DAX and power bi, and I would appreciate your help.
Basically, I have a table with similar columns A,B,C, but I don't know how to create a formula for D.
Basically I have different budget versions within the same year, but I want the report to only display the latest one from the current year. Sometimes we have budgets in the system that have higher version numbers (N) than the current one for this year, so simply displaying the highest number doesn't work.
thanks!
Solved! Go to Solution.
Hi @Anonymous,
Please refer to below calculated column.
Max N current year =
CALCULATE (
MAX ( Table7[N] ),
FILTER ( ALLEXCEPT ( Table7, Table7[proj] ), Table7[year] = YEAR ( TODAY () ) )
)
Best regards,
Yuliana Gu
Hi @Anonymous,
Please refer to below calculated column.
Max N current year =
CALCULATE (
MAX ( Table7[N] ),
FILTER ( ALLEXCEPT ( Table7, Table7[proj] ), Table7[year] = YEAR ( TODAY () ) )
)
Best regards,
Yuliana Gu
worked perfectly, thank you very much!
C.
Are cells D5/D6 3 rather than 2 by design?
Hi
Each project has its own versioning in Oracle. What I meant was that for P002, the highest (ie current in 2018) budget version is 3.
However for P001, the current 2018 budget version is 2 (3 is in 2019).
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 29 | |
| 27 | |
| 24 | |
| 24 | |
| 18 |
| User | Count |
|---|---|
| 54 | |
| 50 | |
| 41 | |
| 33 | |
| 23 |