Forum Discussion
Show values only at certain levels using Parameter Fields
Hi Andrei_Butov ,
Create a DAX measure to conditionally display the planned revenue values only at the desired hierarchy levels. You can use the function ISINSCOPE to determine the current level of the hierarchy being displayed and conditionally return the planned revenue or a blank value.
Display Plan =
IF(
ISINSCOPE('DateTable'[Date]) && ISINSCOPE('DepartmentTable'[Department]),
SUM('PlanTable'[Planned Revenue]),
BLANK()
)
Best Regards,
Xianda Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hello Anonymous,
your measure show results for all hierarchy levels after [date] and [department]
Main problem: hierarchy levels can be switch
P.S. also your measure show results only for one column [date] and [department] depending on their hierarchy. better to use ||
- Anonymous2 years agoNot applicable
Hi Andrei_Butov ,
Your idea might be feasible, through || to show the hierarchy.
After trying it, you can share your answers if you can
Best Regards,
Xianda Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.