Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi team,
I have the following measure with main purpose to calculate the difference between the course of a truck the latest date and the date before. However since there are a lot of trucks I have multiple courses (headings) per day, hence I am filtering them using an id table. The measure below returns correctly the current course, however returns blank in the previous course which is the heading one day before. The Main table has a Many to one relationship to the calendar table. Any thoughts?
I cant understand how this is helpful since I am not using a json file
This is for debugging DAX code, not for json.
Read about EVALUATEANDLOG, then install DAXDebugOutput and troubleshoot the individual steps.
Thank you for your reply!! I was able to fix it by applying ALLSELECTED after the filter in the second variable. Now the new problem is that I want to show only the latest positions of the trucks on the map. For that reason I have created a filter that gives the latest calendar date based on the date number ( which is a column containing DATEDIFF function). When I select the slicer to show the latest (i.e max number) I got blank result again. Thank you in advance!!
Read about EVALUATEANDLOG, then install DAXDebugOutput and troubleshoot the individual steps.