Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Table Filter not working when using measure
03-09-2023
12:01 AM
Hi everyone,
when I am using the following measure:
LM Change =
SWITCH(
TRUE(),
ISBLANK([LM CY]) && ISBLANK([LM PY]),
blank(),
DIVIDE(
[LM CY],
[LM PY],
""
)-1
)
I get the following table that outlines last month sales of the current year, it's corresponding sales in the previous year and the percentage change between these two figures per account:
However, when I would like to split each account sales by country by dragging it in the rows-section of the visual,
it says
Can anyone please help me understand and solve this error?
Thank you in advance!
Solved! Go to Solution.
1 ACCEPTED SOLUTION
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2023
12:03 AM
hi @ThomasSan
try like:
LM Change =
SWITCH(
TRUE(),
ISBLANK([LM CY]) && ISBLANK([LM PY]),
0,
DIVIDE(
[LM CY],
[LM PY],
0
)-1
)
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2023
12:09 AM
Cool, that worked! Thanks a lot!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2023
12:13 AM
i guess it is because BLANK() or "" is text, which could not be converted to numaric values.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2023
12:03 AM
hi @ThomasSan
try like:
LM Change =
SWITCH(
TRUE(),
ISBLANK([LM CY]) && ISBLANK([LM PY]),
0,
DIVIDE(
[LM CY],
[LM PY],
0
)-1
)

Helpful resources
Recommendations
Subject | Author | Posted | |
---|---|---|---|
03-06-2024 02:47 AM | |||
04-04-2024 06:38 PM | |||
01-05-2024 08:10 PM | |||
12-19-2022 05:55 AM | |||
10-02-2023 03:23 PM |
Top Solution Authors (Last Month)
User | Count |
---|---|
13 | |
12 | |
10 | |
10 | |
9 |
Top Kudoed Authors (Last Month)
User | Count |
---|---|
29 | |
16 | |
14 | |
13 | |
13 |