Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi,
I am creating a report to see capacity before and after a train station. I only have the capacity on the train station, so I need to get the information from the last train station and the station after the current stop, at different hours of the day AND different years. The dataset is quite large, but what I need to do is find a formula that gives me the information from the last train station.
So if I want to see the capacity before and after train station B, I would need to get capacity from A and C for different train-lines.
Is there an equivalent of SUMIFS in DAX that can be used for this purpose?
Solved! Go to Solution.
DAX has no concept of "previous" or "next". It is your responsibility to provide a suitable index field in your data. You can then use that index for the formulas.
DAX has no concept of "previous" or "next". It is your responsibility to provide a suitable index field in your data. You can then use that index for the formulas.
User | Count |
---|---|
128 | |
108 | |
100 | |
64 | |
62 |
User | Count |
---|---|
136 | |
113 | |
102 | |
71 | |
60 |