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.
Hello Everyone,
I have two columns of data (Arrivals and Departures) and I have a summed measure (Total Operations), all in one table. I then have a seperate table (Info) that contains Dest_Terminal and Orig_Terminal. I need to Filter the Total Operations by terminal, and I have tried doing so in the Visual Filters area of the chart, but it isn't working.
So, I wanted to create a new measure that filters out all of Terminal A's arrivals and departures, and here is the forumla I came up with (that obviously isn't working):
Total Ops Terminal A = calculate(sum(Flights[Arrivals]), filter(Info, Info[Dest_Terminal] = "A") + sum(Flights[Departures]), filter(Info, Info[Orig_Terminal] = "A"))
Can someone please tell me how to make this work?
Thanks in advance!
Solved! Go to Solution.
Total Ops Terminal A = calculate(sum(Flights[Arrivals]), filter(Info, Info[Dest_Terminal] = "A")
+ calculate(sum(Flights[Departures]), filter(Info, Info[Orig_Terminal] = "A")
Total Ops Terminal A = calculate(sum(Flights[Arrivals]), filter(Info, Info[Dest_Terminal] = "A")
+ calculate(sum(Flights[Departures]), filter(Info, Info[Orig_Terminal] = "A")
Thanks! Worked like a charm!
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 |
---|---|
109 | |
98 | |
80 | |
64 | |
57 |
User | Count |
---|---|
145 | |
111 | |
92 | |
84 | |
66 |