Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I want to create a PowerBI measure, to perform some filter tasks.
Basically, I want to create a measure that returns 1 if ColumnA = empty OR column B is empty OR columns C = empty. I'm just getting started with measures and I am getting stuck.
My code attempt:
M_DataIssues = FILTER( ALL(Table[ColA] ; Table[ColB] ; Table[ColC]) Table[ColA] = "" || Table[ColB]= "" || Table[ColC] = "")
Any help would be appreciated.
PS. due to my user permissions, I can only create measures. I do not have rights to do other modelling tasks or create columns e.g.
Thanks!!
KR ~M.
Solved! Go to Solution.
Well, if you want a measure, it would be something like:
M_Flag =
IF(
'Table'[ColA]="" || 'Table'[ColB]="" || 'Table[ColC]="",
TRUE,
FALSE
)
Well, if you want a measure, it would be something like:
M_Flag =
IF(
'Table'[ColA]="" || 'Table'[ColB]="" || 'Table[ColC]="",
TRUE,
FALSE
)
Thanks, I accepted the solution. Is there a way to filter on this created measure? So only the True values? Again, I can only create measures, no columns etc.
ty
~M
Check out the July 2025 Power BI update to learn about new features.
User | Count |
---|---|
25 | |
10 | |
7 | |
6 | |
6 |
User | Count |
---|---|
30 | |
11 | |
11 | |
10 | |
6 |