Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hey Everyone,
I am having some issue with ISINSCOPE Function.
i have this simple table:
I am getting this as result:
I am using this measure:
Solved! Go to Solution.
Hi @TaroGulati
You could try this measure
NewMeasure =
SWITCH (
TRUE (),
ISINSCOPE ( 'Table'[Third level] ),
SWITCH (
SELECTEDVALUE ( 'Table'[Third level] ),
BLANK (), BLANK (),
"", BLANK (),
30
),
ISINSCOPE ( 'Table'[Second level] ),
SWITCH (
SELECTEDVALUE ( 'Table'[Second level] ),
BLANK (), BLANK (),
"", BLANK (),
20
),
ISINSCOPE ( 'Table'[First level] ), 10,
BLANK ()
)
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
Hi @TaroGulati
You could try this measure
NewMeasure =
SWITCH (
TRUE (),
ISINSCOPE ( 'Table'[Third level] ),
SWITCH (
SELECTEDVALUE ( 'Table'[Third level] ),
BLANK (), BLANK (),
"", BLANK (),
30
),
ISINSCOPE ( 'Table'[Second level] ),
SWITCH (
SELECTEDVALUE ( 'Table'[Second level] ),
BLANK (), BLANK (),
"", BLANK (),
20
),
ISINSCOPE ( 'Table'[First level] ), 10,
BLANK ()
)
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
@TaroGulati , for that you have check blank too
SWITCH(TRUE(), ISINSCOPE('Table'[Third level]) && not(isblank('Table'[Third level])) ,30,
ISINSCOPE('Table'[Second level]) && not(isblank('Table'[Second level])) ,20
,ISINSCOPE('Table'[First level]),10, blank() )
@amitchandak thanks for your kind reply.
i am having one issue to validate this measure. ISBLANK function is not accepting the column of table.
Should i use it in some different way?
thanks
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 56 | |
| 33 | |
| 32 | |
| 18 | |
| 16 |
| User | Count |
|---|---|
| 65 | |
| 64 | |
| 44 | |
| 30 | |
| 28 |