Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
Hello, I need help writing a DAX query that will return all SKUs that have more than 3 units of available stock in each Branch Code.
Since I will apply some IF functions for some product category, filtering the tables prior to creating the dashboard, won't help.
Solved! Go to Solution.
@andreas789 , Try a measure like
countx(filter(summarize(Table, [SKU], "_1", distinctCOUNT(Table[Branch_code]), "_2", calculate(distinctCOUNT(Table[Branch_code]), filter(Table, Table[Unit_available_stock] >3))), [_1] =[_2]), [SKU])
@andreas789 , Try a measure like
countx(filter(summarize(Table, [SKU], "_1", distinctCOUNT(Table[Branch_code]), "_2", calculate(distinctCOUNT(Table[Branch_code]), filter(Table, Table[Unit_available_stock] >3))), [_1] =[_2]), [SKU])
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
19 | |
13 | |
10 | |
9 | |
9 |