Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hello,
I have columns containing the branches/departments and how many products were sold on different timeframes. And I want to be able to have a single select slicer on those timeframes so my charts and graphs would update depending on which timeframe I select. For example I want to see the top 10 branches/departments that sold the most products on 30 days or 180 days.
Thank you
Solved! Go to Solution.
Hi @colinryan
Have you tried using the Parameter Fields?
You can choose which fields or KPIs to show in your visual:
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.
Hi,
Thanks for the soltion SamWiseOwl offered, and i want to offer some more information for user to refer to.
hello @colinryan , you can also refer to the following solution.
Create a slicer table.
Then create a measure
MEASURE =
SWITCH (
SELECTEDVALUE ( 'Slicer'[Choice] ),
"30 Days", CALCULATE ( SUM ( 'Table'[Sold(30 Days)] ) ),
"90 Days", CALCULATE ( SUM ( 'Table'[Sold(90 Days)] ) ),
"180 Days", CALCULATE ( SUM ( 'Table'[Sold (180Days)] ) ),
CALCULATE ( SUM ( 'Table'[Sold(365 Days)] ) )
)
Output
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi,
Thanks for the soltion SamWiseOwl offered, and i want to offer some more information for user to refer to.
hello @colinryan , you can also refer to the following solution.
Create a slicer table.
Then create a measure
MEASURE =
SWITCH (
SELECTEDVALUE ( 'Slicer'[Choice] ),
"30 Days", CALCULATE ( SUM ( 'Table'[Sold(30 Days)] ) ),
"90 Days", CALCULATE ( SUM ( 'Table'[Sold(90 Days)] ) ),
"180 Days", CALCULATE ( SUM ( 'Table'[Sold (180Days)] ) ),
CALCULATE ( SUM ( 'Table'[Sold(365 Days)] ) )
)
Output
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly
Hi @colinryan
Have you tried using the Parameter Fields?
You can choose which fields or KPIs to show in your visual:
If you are happy with this answer please mark as a solution for others to find !
Kudos are always appreciated! Check out our free Power BI video courses.
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 42 | |
| 37 | |
| 35 | |
| 22 | |
| 15 |
| User | Count |
|---|---|
| 67 | |
| 58 | |
| 29 | |
| 27 | |
| 25 |