Forum Discussion
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.69i57j0i22i30j0i390l4.20731j0j7&sourceid=chrome&ie=UTF-8
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
- amitchandak
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
- AnonymousNot 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