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,
I am just practicing some formulas on Power BI. I have one simple excel file which have some name(Player) columns with their scores.
Now i want to add one new column in a table which will count the number of zeros get for each player.
Please help me with this. Sharing the table screenshot
Hi , @Anonymous
Based on your description, I'm wondering if the value 0 in your table needs to be counted.
I created the same sample as you and unpivot columns like this:
You can refer to the documentation for details:Unpivot columns - Power Query | Microsoft Learn
Result is as follows :
Please feel free to correct me and provide more information if I have misunderstood you!
An attachment for your reference. Hope it helps!
Best regards,
Community Support Team_ Scott Chang
If this post helps then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous
I understood the given solution but i want to count number of zeros for every person seperately and show it on other table like example sumit got 2 zeros and deepak got 5 zeros. This result i want to execute. sharing the sample table from which you can understand the requirement.
Thanks!!
User | Count |
---|---|
85 | |
84 | |
36 | |
34 | |
32 |
User | Count |
---|---|
93 | |
79 | |
66 | |
55 | |
52 |