The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
I'm Sorry, but I wrote this in the power query forums but I think that is better with dax. I have a table with a lot of columns.
I wanto to add a column in wich I will count how many time the value of Sell columns is repeated like if I use CountIf in excel. For me is the same from DAX or Power Query.
Seller | Count Seller |
00065862 | 1 |
00049674 | 2 |
00049674 | 2 |
00038281 | 1 |
00032684 | 2 |
00053195 | 1 |
00032684 | 2 |
00078092 | 1 |
00049675 | 1 |
00078095 | 1 |
thank you
Solved! Go to Solution.
Hi @Carlo1975
Count Seller =
CALCULATE ( COUNT ( Table1[Seller] ), ALLEXCEPT ( Table1, Table1[Seller] ) )
Please mark the question solved when done and consider giving a thumbs up if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
Cheers
Hi @Carlo1975
Count Seller =
CALCULATE ( COUNT ( Table1[Seller] ), ALLEXCEPT ( Table1, Table1[Seller] ) )
Please mark the question solved when done and consider giving a thumbs up if posts are helpful.
Contact me privately for support with any larger-scale BI needs, tutoring, etc.
Cheers
User | Count |
---|---|
15 | |
12 | |
8 | |
7 | |
7 |
User | Count |
---|---|
24 | |
20 | |
12 | |
10 | |
7 |