Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi
I have transaction table with items
i want to get the count of each itemid if the status = 0 and category = 3 and it should be group by itemid and locationid in new table
it should be like this
Solved! Go to Solution.
Hi @wadda7,
please find below a possible solution.
old table (t_6):
result (t_6_new):
Best regards
Mikelytics
Did I solve your request? Please mark my post as solution
Appreciate your Kudos.
and also should be group by maintable[itemid] and maintable[locationid]
Hi @wadda7,
please find below a possible solution.
old table (t_6):
result (t_6_new):
Best regards
Mikelytics
Did I solve your request? Please mark my post as solution
Appreciate your Kudos.
work fine with me thank you
this error comes
itemid = text
inventdimid (location) = text
status = int
category = int
since your status and category is int you have to make [status] = 0 && [ category] = 3 without using the ""
Did I solve your request? Please mark my post as solution
Appreciate your Kudos.
^Please check if the columns you are use in the filter are formatted as text or number.
if it is number you do [column] = 1
if it is text you do [column] = "1"
Best regards
Mikelytics
Did I solve your request? Please mark my post as solution
Appreciate your Kudos.
Hi @wadda7 ,
you could do this e.g. with the following measure
count status 0 = COUNTX(maintable, IF(maintable[status] = 0, 1 , BLANK()))
i want 2 condtions staus = 0 and category = 3 how to add the second condtion
Hi @wadda7
count status 0 = COUNTX(maintable, IF(maintable[status] = 0 && maintable[category] = 3, 1 , BLANK()))
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
99 | |
83 | |
70 | |
61 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |