Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

DAX – ALL function

Does ALL function ignore filters applied in Power Query? Say that I want to count rows, say number 2, in a specific column (x_channel), but that number is filtered out because of a filter in another column (associate.name) in the same table. I’m trying to use ALL function, but the measure doesn’t work. Is there something wrong with my syntax?

Telefon = CALCULATE(COUNTROWS(TICKET), ticket[x_channel]=2, ALL(TICKET[ASSOCIATE.name]), USERELATIONSHIP(DIM_DATO[Opprettet], TICKET[Created]))

Thanks!

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

PowerQuery (language: M) and PowerBI (language: DAX) have nothing to do with one another.

PowerQuery handles the ingestion of data at refresh time. After that, the only data PowerBI has in its data model is the data that was provided to it by PowerQuery.

If you have filtered data in PowerQuery, then using ALL() in DAX will have no effect.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading