Forum Discussion
Andrei_Butov
2 years agoRegular Visitor
Show values only at certain levels using Parameter Fields
Hello, I have two fact tables. The first table contains information on sales: revenue, date, department, and other attributes. The second table contains planned revenue values but only for two ...
Anonymous
2 years agoNot applicable
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.