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

Dimension filter not working on visual object

I have a dimension filter on a visual which doesn’t work. The table consist three dimensions:

enter image description here

The measure I use in the visual are as follows:

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

Chat 2022 = CALCULATE(SUM('LD Henvendelser kanaler'[Value]), 'LD Henvendelser kanaler'[Kanal]="Chat" && 'LD Henvendelser kanaler'[Year]=2022)

And the same goes for the other dimensions

The slicer filter I am using on the visual object contains the field "Kanal", but it does not work. Why?

enter image description here

>Solution :

You need to use KEEPFILTERS like:

Chat 2022 = CALCULATE(SUM('LD Henvendelser kanaler'[Value]), KEEPFILTERS('LD Henvendelser kanaler'[Kanal]="Chat" && 'LD Henvendelser kanaler'[Year]=2022))

Why? See bullets 2 & 3 in Remarks: https://learn.microsoft.com/en-us/dax/keepfilters-function-dax

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