Forum Discussion
How to show report drill through value?
- Anonymous4 years ago
Hi wangjuan303 ,
As far as I know VALUES function will return a table based on your selection. However measure will return a single aggregate value. So when you only select one value you will get result and you couldn't get result when you get multiple values, even get error.
Here I suggest you to try CONCATENATEX function to combine all values return by VALUES function.
M_SAG = IF ( ISFILTERED ( 'Table'[sag] ), "SAG : " & CONCATENATEX ( VALUES ( 'Table'[sag] ), [sag], "/" ), BLANK () )Best Regards,
Rico ZhouIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Test it, selectedvalue or Max all show blank too, Thank you
Hi wangjuan303 ,
As far as I know VALUES function will return a table based on your selection. However measure will return a single aggregate value. So when you only select one value you will get result and you couldn't get result when you get multiple values, even get error.
Here I suggest you to try CONCATENATEX function to combine all values return by VALUES function.
M_SAG =
IF (
ISFILTERED ( 'Table'[sag] ),
"SAG : " & CONCATENATEX ( VALUES ( 'Table'[sag] ), [sag], "/" ),
BLANK ()
)
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.