Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
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.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.