Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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()))
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 6 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 14 | |
| 8 | |
| 8 | |
| 8 |