Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
ConnorKent
Regular Visitor

Filtering 2 Dimensional table and return value

So i have a two dimensional array Where I have the Flight travel cost based on continent. Traveling within the continent it cheaper than travling outside of the continent, The table would look something like this

 

CONTINENT         N.AMERICA      S.AMERICA      ASIA        EUROPE

N.AMERICA             200                      1000           1000         1000

S.AMERICA              1000                    200             1000       1000

ASIA                         1000                    1000           200         1000

EUROPE                   1000                    1000          1000         2000

 

And I have another table of people with 3 coloumns NAME, LOCATION OF CONTINENT   &  COST OF FLIGHT

is there a formula to return the cost of the flight by selecting a destination continent?

 

To explain it simply I need a slicer where I can select the destination continent, this slicer would then return the flight cost to people(COST OF FLIGHT) from the other table.

1 REPLY 1
v-yuezhe-msft
Employee
Employee

@ConnorKent,

Could you please share sample data of "another table" and post expected result here?

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.