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 August 31st. Request your voucher.
Hi, @Anonymous
You can try the following methods.
Measure = CALCULATE(COUNT('Table'[STORE-SKN]),FILTER(ALLEXCEPT('Table','Table'[SKN]),[Inventory]<=0))
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
want to calculate another col with count of Out os stock store by SKN. total count of store for each skn
Hi, @Anonymous
I have modelled some of the data to hopefully match your situation.
Measure = CALCULATE(COUNT('Table'[STORE-SKN]),ALLEXCEPT('Table','Table'[SKN]))
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
above calculation gives me Count of stores for an SKN, can we add count store with inventory less then or equal to 0. this will give stores out of inv for SKN.
Hi, @Anonymous
You can try the following methods.
Measure = CALCULATE(COUNT('Table'[STORE-SKN]),FILTER(ALLEXCEPT('Table','Table'[SKN]),[Inventory]<=0))
Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Anonymous
Based on the data you have provided, what kind of output do you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
User | Count |
---|---|
27 | |
12 | |
8 | |
8 | |
5 |
User | Count |
---|---|
31 | |
15 | |
12 | |
7 | |
6 |