Forum Discussion
All / slicer issue, discards data
Having an issue, so i work for an airline, and trying to take the sum of all passengers (Industry PAX), my formula works at the macro level, but when you get down to specific markets it starts to mess up.
Example. New York to Argentina. There are 3 airports in New York, Some airlines fly to one, others fly to the rest. Lufthansa does not really fly that specific route, so when selecting Lufthansa the Industry total changes to only Lufthansa booking. Which would be EWR (airport code) and ignores the other 2 airports, even though they are selected in the slicer.
It's a simple-ish issue but hard to explain.
So I need my measure to bring in JFK and LGA data as well even though Lufthansa does not fly there
IND PAX = CALCULATE(sum('table'[pax]),ALL('table1'[JV carrier]))
If i ignore the airport code slicer i get the wrong answer
My desired outcome would be when selecting more than one airport code, to gauge each airline evenly compared to the industry total
7 Replies
- MattAllingtonCommunity Champion
If you post a realistic sample DB with non sensitive data, I will take a look for you.
- v-juanli-msftCommunity Support
Hi MrNoob
It is not clear about your example.
It is better to share a example(not realistic) dataset and expected result.
for example:
table1->airports information
table2->air company information
table3->airlines information
relationships among tables
which columns added in the slicer
which slicer level to select, then what should be the result
Best Regards
Maggie
- MrNoobHelper II
Hello all,
Thank you for the replies, I have created a sample data set and recreated the issue, i am wishing to correct. I need the IND PAX number to not change when selecting the different carriers.