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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Need Help with DAX commands

Hi Team,
I have created a dynamic slicer in my page if select the Geo in the drop down then the data shows by Geo , if I select the data by Region then the data shows by Region respectively .
Here is the video which I referred to for creating this dynamic slicer.
https://www.google.com/search?q=how+to+change+x+axis+dynamically+in+power+bi&rlz=1C5[…]me.1.69i57j0i...
One of the measure is having the data at the granular level at a country level , As per my requirement If I select Geo in the drop down the measure should show 0 as a value , if in the dropdown I select region it should show 0 but if select country it show the values coming from source.
I think this can be achievd by dax function or in power query editor ,
But running out of ideas.
It will suggest that please go through the above video as how I have created a dynamic slicer.
Thanks & Regards
Shiv

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , Check if the new feature Field Parameter can help https://powerbi.microsoft.com/en-us/blog/power-bi-may-2022-feature-summary/#post-19361-_Toc103022212

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Hi @amitchandak ,
Thank you so much !! Its a great feature and I am happy that micrsoft has released it when it required . But this still not solves my original problem , As i mentioned earlier I need to show a specific measures as 0 when certain values are selected as part of the parameter.
Can you please help me in this regard!!.
Thanks & Regards
Shiv

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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