Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi Everyone,
I have a slicer with values Change and Problem
Whenever Change is selected, data for Change should get populated , same goes with Problem
But here Change and Problem are two different entites. Change and Problem can have different fields, different visuals, measures.
Change can have 6 KPIs , Problem can have 2 KPIs to display
How to achieve this dynamic functionality
I'm not sure if field parameters can help.
Creating two buttons, adding page navigation is the easiest way, but want to achieve it using slicer
Please help
Thanks
@amitchandak @Greg_Deckler @lbendlin @tamerj1
Solved! Go to Solution.
Hi @Neha12 ,
Please try below steps:
1. below is my test table
Table:
Table2:
2. create a measure with below dax formula
Measure =
VAR cur_type =
SELECTEDVALUE ( 'Table 2'[Type] )
VAR cur_sale =
MAX ( [Sales] )
RETURN
SWITCH (
cur_type,
"Change", IF ( cur_sale > 4, 1, 0 ),
"Problem", IF ( cur_sale <= 4, 1, 0 )
)
3. add a slicer visual with Table2, add a table visual with Table, then add measure to the filter pane for table visual.
Please refer the attached .pbix file.
Best regards,
Community Support Team_ Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Neha12 ,
In order to better understand your demands and give the right solution, could you please provide some more specific information? such as your desensitized example data and a screenshot of your desired results?
Thanks for your efforts & time in advance.
Best regards,
Community Support Team_ Binbin Yu
Hi,
I have two different tables as Change and Problem. Both having bit adifferent information
I have prepared two reports one for change and Problem. Now instead for two reports
I want a slicer that has this two values change and Problem, so whenever user selects change, data related to change should get populated, same goes for Problem
No need of creating two different pages , a slicer should provide the need
I hope this clear the info
If not please tell me
Thanks
Hi @Neha12 ,
Please try below steps:
1. below is my test table
Table:
Table2:
2. create a measure with below dax formula
Measure =
VAR cur_type =
SELECTEDVALUE ( 'Table 2'[Type] )
VAR cur_sale =
MAX ( [Sales] )
RETURN
SWITCH (
cur_type,
"Change", IF ( cur_sale > 4, 1, 0 ),
"Problem", IF ( cur_sale <= 4, 1, 0 )
)
3. add a slicer visual with Table2, add a table visual with Table, then add measure to the filter pane for table visual.
Please refer the attached .pbix file.
Best regards,
Community Support Team_ Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
143 | |
79 | |
63 | |
52 | |
47 |
User | Count |
---|---|
212 | |
89 | |
76 | |
66 | |
60 |