Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
One of the requirement for my small PowerBI project is a toggle checkbox. For example, here is 'salesperson' table
KeyEmployee
When the checkbox is checked, only 'KeyEmployee' will display on the dashboard, otherwise everyone will display. Lets see hows it looks in final solution:
Power BI Checkbox
I have successfully make it works as you can see above by using a temporary table and help from DAX:
DAX for handle checkbox
My question is: Do we have any build-in visualization from Power BI to achieve my requirement? Or any better way for this?
P/S: I've written a blog post for my solution (sorry, this is not in English) based on the data model from Guy in a Cube, please correct me if my solution is a bad solution.
TotalSales=CALCULATE(SUM(Sales[Sales Amount]),IF(SELECTEDVALUE(Checkbox[Id])=1,Salesperson[KeyEmployee]=1,TRUE()))
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
9 | |
7 | |
6 | |
5 |
User | Count |
---|---|
20 | |
11 | |
10 | |
9 | |
6 |