The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Mi intención es poder filtrar los años de ingreso de 5 alumnos, donde yo selecciono 2021 con el fin de que se queden los alumnos que tengan ese mismo año osea 3 alumnos y los demás sean filtrados.
He batallado muchos días con este problema, agradecería mucho saber en qué fallo!
Hi @Ignacioo ,
If you could provide some simulated data and the expected output, that would be very helpful.
How to Get Your Question Answered Quickly
How to provide sample data in the Power BI Forum
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
First to check is this a measure or New table.
If measure you can't return FILTER as that is a table, use New table.
If _Anio holds 3 students you can't use SelectedValue instead use Values() as that can return a column of values.
With values you need CalculateTable instead of Calculate and IN instead of =.
table =
var _anio = CalculateTable( Values('table'[anio_ingresso), Keepfilter(table))
Return
Filter(
all(Table)
,table[column] IN _Anio
)
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.
User | Count |
---|---|
27 | |
12 | |
8 | |
8 | |
5 |
User | Count |
---|---|
31 | |
15 | |
12 | |
7 | |
6 |