Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
moussab_orabi
Frequent Visitor

Slicer selected value

Hi every body, I am trying to read value selected from Slicer and use it as filter value in query.

this is my query:

sum_gesamtpreis = CALCULATE(SUM(umsatz[gesamtpreis]);umsatz[kunde]="20006")

instead of writing the customer number I want to choose it directly from Slicer
klaus umsatz plannung - Power BI Desktop_2017-04-26_13-35-48.jpg

Thanks for helping 🙂

6 REPLIES 6
Anonymous
Not applicable

Hi @moussab_orabi,

Could you please share sample data of your table and post the result you want to get with the sum_gesamtpreis measure? In your scenario, you can just create sum_gesamtpreis using DAX below, this way, as other post, when selecting different values in customer number slicer, the value of sum_gesamtpreis measure will be changed based on selected customer number.

sum_gesamtpreis = SUM(umsatz[gesamtpreis])

Thanks,
Lydia Zhang

 

Hi Lydia ,
I have 3 steps report,
in the first two steps I have to set some filters and this filter should affect the results in the third step so I don't have to reset them again.

BR,
Moussab

 

 

 

 

klaus_umsatz_plannung_Power_BI_Desktop_2017_04_27_12_48_47.jpgklaus_umsatz_plannung_Power_BI_Desktop_2017_04_27_12_45_01.jpgGreenshot_2017_04_27_12_44_16.jpg

Hi @moissab_orabi,

To my knowledge this is not.possible everyone as this requirement search in the idea forum and vote for that option.

Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



MFelix
Super User
Super User

Hi @mpissab_orabi,

If you are using the customer name as a slicer all your report visuals will be sliced/filtered to the ones that correspond to the value on the slicer and you don't need to add it to your measure.

Regards,
MFelix

Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Hi Felix,

Thanks for your replay.
what am I trying to do is making  slicer value readable from all reports sheets "pages" so  at the first page  I am trying to set the basics filters then this should affect  all the followed reports pages.

thats way I need to use it in the query.
BR,
Moussab

As far as I know, you cannot have the value of a dynamically selected value,  as the filter for other report pages. 

 

I have the same requirement too, so if someone can share how, would be great.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors