Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi All
I have below expression working fine :-
Now my task is to remove the row which display Other . I try to modify the expression to below :-
Solved! Go to Solution.
@admin11 , Is that what you need?
BRAND_P_NEW =
IF (
'SALES'[BRAND_] = BLANK (),
"No Brand",
IF (
SALES[BRAND_] IN { "UNIVERSAL", " Universal Robot", "Universal Robot" },
'SALES'[BRAND_]
)
)
@admin11, there are a couple of ways to do it.
CALCULATE(<YTD Logic>,KEEPFILTERS('SALES'[BRAND_P] <> "Other"))
Hope this helps!
@admin11 , The first one is correct as a new column. if you want to remove others, you need to use a measure or use the page or visual level filter <> other
calculate([sales YTD], filter(Table, Table[BRAND_P_]<> "Other")
Assumed that sales YTD is a measure
Thank you both for sharing .
I am sorry , it is my explanation is not clear to all of you.
what i want is :-
@admin11 , Is that what you need?
BRAND_P_NEW =
IF (
'SALES'[BRAND_] = BLANK (),
"No Brand",
IF (
SALES[BRAND_] IN { "UNIVERSAL", " Universal Robot", "Universal Robot" },
'SALES'[BRAND_]
)
)
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
97 | |
80 | |
69 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |