Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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()))
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 13 | |
| 8 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 29 | |
| 19 | |
| 18 | |
| 11 | |
| 10 |