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
Hi Guys,
i have a sample data as below and slicers for Emp Code and Date.
firstly i need to bucket the attendance of each employees .ie ,"below 2 " or "above 2" which is dynamic with the slicers.for this i have used the below measure which works fine.
Both the bucket and % must be dynamic as it needed to change according to the slicers (Date&Emp code).
Can you guys please help me find a solution for the bucket & % table?
Calculation of % is number of employee in each bucket by the total employee.(eg :above-2 has 3 employees and below-2 has 2 employees then total employees will be 5 ,so bucket % for above-2 will be 3/5*100 = 60% and for below-2 it will be 2/5*100 = 40%. currently we dont need to include date info for any calculation.)
Please provide sample data (with sensitive information removed) that covers your issue or question completely, in a usable format (not as a screenshot). Leave out anything not related to the issue.
If you are unsure how to do that please refer to https://community.fabric.microsoft.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-...
Please show the expected outcome based on the sample data you provided.
If you want to get answers faster please refer to https://community.fabric.microsoft.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447...
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 20 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 33 | |
| 31 | |
| 19 | |
| 12 | |
| 11 |