The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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...
User | Count |
---|---|
20 | |
8 | |
7 | |
7 | |
6 |
User | Count |
---|---|
28 | |
12 | |
12 | |
9 | |
8 |