Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi Everyone
I have got a table and its total, my requirement is to have a grand total from a another table, but in this case I will use a string, it works fine when selecting 2 or more values from the slicer but when I select only 1 it changes to the total of the one remaining value selected.
when I select the filters like this is shows correct output
but when I select only one value it shows wrong output
it should only display the text "This should not change" even if only one value is selected
here is my dax:
TOTAL = IF ( HASONEVALUE ( 'Experiment Table'[Product] ), SUMX ( 'Experiment Table', [Whole] * [Per] ), "THIS SHOULD NOT CHANGE" )
Solved! Go to Solution.
@Alrythmond wrote:
it should only display the text "This should not change" even if only one value is selected
Then you should not be using the HASONEVALUE() function. Try using ISINSCOPE() instead
@Alrythmond wrote:
it should only display the text "This should not change" even if only one value is selected
Then you should not be using the HASONEVALUE() function. Try using ISINSCOPE() instead
OH wow!, Thank you so much! I didn't notice there was a function like this, this will help me althroughout my development thank you so much!
User | Count |
---|---|
128 | |
108 | |
99 | |
65 | |
62 |
User | Count |
---|---|
137 | |
115 | |
102 | |
71 | |
61 |