The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Why doesn't ALL work for the date column when it's in the DATE format. The format of the column is the only thing that changes in the pictures below.
@ajdinbphys You can just use SUM('Sales Table'[Sales Amount]) or SUMX(ALL('Sales Table'),[Sales Amount]). Would be interested in seeing the PBIX if you could share it.
Not sure If I can upload a pbix file here but here is a google drive link to the file:
pbix file
The idea behind this was to understand context transition which happens with CALCULATE. As I understand it, every row in the row context of the Sales table becomes a filter such that the SUM function only 'sees' one row of the table at a time. However, since calculate modifiers exist, you can overwrite this filter by using for example REMOVEFILTERS or ALL. And so I was playing with removing filters from individual columns and trying to predict the correct result for the summation until I notices this weird behaviour.