Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
72 | |
71 | |
57 | |
38 | |
36 |
User | Count |
---|---|
81 | |
67 | |
61 | |
46 | |
45 |