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,
Can anyone help me to convert the below excel formula to power BI DAX?
=SUMIFS([@[NET OWING]],[@DATE],">="&TODAY()-15)
Solved! Go to Solution.
=CALCULATE (
SUM ( Table1[NET OWING] ),
FILTER ( Table1, Table1[Date] >= ( TODAY () - 15 ) )
)
It'll basically be the same formula but twice, with the days changed to 59 and 29
CALCULATE (
SUM ( Table1[NET OWING] ),
FILTER ( Table1, Table1[Date] >= ( TODAY () - 59 ) )
)
- CALCULATE (
SUM ( Table1[NET OWING] ),
FILTER ( Table1, Table1[Date] >= ( TODAY () - 29 ) )
)
=CALCULATE (
SUM ( Table1[NET OWING] ),
FILTER ( Table1, Table1[Date] >= ( TODAY () - 15 ) )
)
Thanks Chirayuw.
Can you help me again to covert the excel formula below?
=SUMIFS([@[NET OWING]],[@Date],">="&TODAY()-59)-SUMIFS([@[NET OWING]],[@Date],">="&TODAY()-29)
It'll basically be the same formula but twice, with the days changed to 59 and 29
CALCULATE (
SUM ( Table1[NET OWING] ),
FILTER ( Table1, Table1[Date] >= ( TODAY () - 59 ) )
)
- CALCULATE (
SUM ( Table1[NET OWING] ),
FILTER ( Table1, Table1[Date] >= ( TODAY () - 29 ) )
)
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 |
---|---|
105 | |
95 | |
75 | |
63 | |
62 |
User | Count |
---|---|
137 | |
105 | |
104 | |
80 | |
63 |