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

Power BI Measure Duplicating Rows

When creating a measure using the below expression and adding the measure to my table, it is duplicating rows, and I can’t figure out why. Any thoughts?

Agenda Link = IF(LEN(‘public records'[Meeting Agenda])=0,"No","Yes")

Removing the measure also removes the duplicate row. Didn’t change the expression much as I don’t know what’s causing it.

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 :

Try using a calculated column instead :

Agenda Link Column = IF(LEN('public records'[Meeting Agenda]) = 0, "No", "Yes")

Measures are evaluated in the context of your visual so when you add it, it might be evaluated multiple times and that’s why you see duplicate rows.

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