The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hello
I have a table visual with several fields/columns.
I want not to show rows where Field1=SOMETHING1 and Field2=SOMETHING2.
I cannot do that with the visual filters at the right pane. Is there any other solution?
I tried to write a measure but it does not work:
Thanks!
Solved! Go to Solution.
Hi @UsePowerBI ,
Try to create a measure like this and add it to the filter window on the right.
Filter =
IF(
MAX('Table'[field1]) = "something1" && MAX('Table'[field2]) = "something2",
1, 0
)
Or try to a measure like this.
// Add the measure to the table visual
Measure =
CALCULATE(
SUM('Table1'[field]),
FILTER(
ALL('Table1'),
'Table1'[Col2] <> "SOME TEXT" && 'Table1'[Col3] <> "OTHER TEXT"
)
)
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @UsePowerBI ,
Try to create a measure like this and add it to the filter window on the right.
Filter =
IF(
MAX('Table'[field1]) = "something1" && MAX('Table'[field2]) = "something2",
1, 0
)
Or try to a measure like this.
// Add the measure to the table visual
Measure =
CALCULATE(
SUM('Table1'[field]),
FILTER(
ALL('Table1'),
'Table1'[Col2] <> "SOME TEXT" && 'Table1'[Col3] <> "OTHER TEXT"
)
)
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@UsePowerBI , is there any other measure. if this only measures in visual it should show that. If there are more you should see blank value for this column
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
112 | |
79 | |
77 | |
47 | |
38 |
User | Count |
---|---|
148 | |
116 | |
65 | |
64 | |
54 |