Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello, this is what i need..I need the lastValue of the "Estado" Column...it will the max value of the column "Año Inscripcion"
I have the data at this dimension level
[Documento, Departamento, Nombre de Materia]
I want to get the "Estado" column
And i need only for the latest "Año Inscripcion"
So i did this, i created a calculated column:
Can you help me fix that DAX function?
Thanks
Hi @lrozan ,
You can try the following dax;
Resultado Ultima Cursada =
VAR Previous_Date =
CALCULATE (
MAX ( TablaGeneral[Año Inscripción] ),
ALLEXCEPT ( TablaGeneral,
TablaGeneral[Documento],
TablaGeneral[Nombre de materia],
TablaGeneral[DEPARTAMENTO] )
)
RETURN
CALCULATE (
MAX ( TablaGeneral[Estado] ),
'TablaGeneral'[Año Inscripción]=Previous_Date,
ALLEXCEPT ( TablaGeneral,
TablaGeneral[Documento],
TablaGeneral[Nombre de materia],
TablaGeneral[DEPARTAMENTO] )
)
If I have misunderstood your meaning, please provide your desired output and your pbix file without privacy information.
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
73 | |
72 | |
39 | |
31 | |
26 |
User | Count |
---|---|
97 | |
87 | |
43 | |
40 | |
35 |