Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hi,
I have written this code for
calculating total sales.
--
How to select multiple values from
2nd slicer and show them in visuals?
Thank You
Solved! Go to Solution.
Hi @soumyakantibhar ,
Please refer this formula.
Measure = IF(SELECTEDVALUE(Table1[country]) = SELECTEDVALUE(selection1[country])||SELECTEDVALUE(Table1[country]) in VALUES(selection2[country]),SUM(Table1[sales]),BLANK())
Best Regards,
Jay
Hi @soumyakantibhar ,
Please refer this formula.
Measure = IF(SELECTEDVALUE(Table1[country]) = SELECTEDVALUE(selection1[country])||SELECTEDVALUE(Table1[country]) in VALUES(selection2[country]),SUM(Table1[sales]),BLANK())
Best Regards,
Jay
you may try
SelectedValue =
SELECTEDVALUE ( 'Selection 1'[Country ] ) & UNICHAR ( 10 )
& CONCATENATEX (
ALLSELECTED ( 'Selection 2'[Country ] ),
'Selection 2'[Country ],
UNICHAR ( 10 )
)
@soumyakantibhar , try measure like
CALCULATE( SUM(Table1[Sales]),
FILTER( Table1, Table1[Country ] in allselected('Selection 1'[Country ])) )
Thank You for your reply.
Actually I have to show single country for selection1[Country] from main country slicer as first row of the table and secondly show multiple selection values from selection2[Country] in country slicer as second and third row of the table.
User | Count |
---|---|
12 | |
12 | |
8 | |
8 | |
6 |
User | Count |
---|---|
27 | |
19 | |
13 | |
11 | |
7 |