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 Team,
Remaining Stock calculation wrong, I need to subtract Prod_Total 2 based on each "UID in Stock" row wise,
Note: UID in Stock, Prod Total 2 both are new measures values,
UID in Stock = [x]*[y]
Prod Total 2 = CALCULATE([Prod_Total],ALLEXCEPT('Table','Table'[UID]))
Remaining Stock = ? (nee your help)
KV's
Solved! Go to Solution.
@Anonymous , ALLEXCEPT means that filter will taken all other will be ingonred
Try
Total Prod Val = CALCULATE([Prod_Val],ALLEXCEPT('Table','Table'[Month Year]))
refer: https://www.sqlbi.com/articles/using-allexcept-versus-all-and-values/
@Anonymous , ALLEXCEPT means that filter will taken all other will be ingonred
Try
Total Prod Val = CALCULATE([Prod_Val],ALLEXCEPT('Table','Table'[Month Year]))
refer: https://www.sqlbi.com/articles/using-allexcept-versus-all-and-values/
@Anonymous ,Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
Hi @amitchandak ,
Prod_Val = SUM('UID'[Production])*1.1
Prod_Stock = SUM('UID'[Stock])*1.2
Total Prod Val = CALCULATE([Prod_Val],ALLEXCEPT('UID','UID'[UID]))
Data look like below and date slicer selected Jan month but Total Prod val showing overall UID sum, but I'm expected Jan month sum .
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 |
---|---|
104 | |
95 | |
80 | |
67 | |
62 |
User | Count |
---|---|
138 | |
107 | |
104 | |
82 | |
63 |