Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
I have a Excel data sheet for power bi Report preparation. in my datasheet have two column Product and Qty like below screen shot.
Now i have QTY changed in to COUNT(DISTINCT). now table looks like the below
Now i want to get the count of the QTY from Distinct table . i am using three conditions below
>= 4 - i want to get count of which are the values are Greater than equal to 4
= 12 - i want to get count of which are the values equal to 12.
Looking for support. Thanks in advance .
@THENNA_41 , You need a new measure like
Sumx(filter(Table, Table[Product] , "_qty", sum(Table[Qty]) ),switch(true(), [_qty] =12, 12, [_qty] >=4,4))
User | Count |
---|---|
42 | |
28 | |
24 | |
20 | |
16 |
User | Count |
---|---|
54 | |
35 | |
18 | |
18 | |
15 |