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.
I want to sum the volume of deliveries that has date of deliveries creation(Data Cri ajust) lower than a certan day(Data base) AND has shipping date(Data formatada fat) higher than that that specific day.
I manage to get here:
Volume remessas vivas = sumx(filter(CV_BILLINGLOGGSB;CV_BILLINGLOGGSB[Data Cri ajust]<Planilha1[Data base]);CV_BILLINGLOGGSB[Volume Faturado])
Then I tryed to use AND, but got an error:
Volume remessas vivas = sumx(filter(CV_BILLINGLOGGSB;CV_BILLINGLOGGSB[Data Cri ajust]<Planilha1[Data base] and CV_BILLINGLOGGSB[Data formatada fat]>Planilha1[Data base]);CV_BILLINGLOGGSB[Volume Faturado])
Can I use the "filter" function inside the "sumx" for 2 or more parameters?
If yes, how?
Solved! Go to Solution.
The and operator is &&, not the word "and".
Proud to be a Super User!
The and operator is &&, not the word "and".
Proud to be a Super User!
Great! Thanks!
There is an AND() function that serves a similar purpose, but it is limited to two arguments. In general I recommend avoiding this function and using the && operator instead, since it allows essentially unlimited conditions to be strung together.
Proud to be a Super User!
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 |
---|---|
112 | |
100 | |
80 | |
64 | |
57 |
User | Count |
---|---|
146 | |
110 | |
93 | |
84 | |
67 |