Forum Discussion
Slicer & value pick
- Anonymous3 years ago
Hi Crazydog ,
1. This is not possible if columns [Col B] and [Col C] are calculated columns. Since the nature of a calculated column is that it is only recomputed when memory is flushed, it does not interact with the slicer once the computation is complete.
2. If they are measures, please try:Measure = VAR _col_a = MAX('Table'[Col A]) VAR _value = SELECTEDVALUE('Table2'[Col B]) VAR _result = IF(_col_a = 0.5 , _value , MAX('Table'[Col B])) RETURN _resultMeasure 2 = MAX('Table'[Col A])*[Measure]
Attached PBIX file for reference.Best Regards,
Gao
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
Hi Crazydog ,
1. This is not possible if columns [Col B] and [Col C] are calculated columns. Since the nature of a calculated column is that it is only recomputed when memory is flushed, it does not interact with the slicer once the computation is complete.
2. If they are measures, please try:
Measure =
VAR _col_a = MAX('Table'[Col A])
VAR _value = SELECTEDVALUE('Table2'[Col B])
VAR _result = IF(_col_a = 0.5 , _value , MAX('Table'[Col B]))
RETURN
_resultMeasure 2 = MAX('Table'[Col A])*[Measure]
Attached PBIX file for reference.
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
- Crazydog3 years agoFrequent Visitor
Thanks for this ! Is there any way I can input col B ? and col c will perform calc for that value... cos I am going have over 1000 values for col B.