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

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.

Reply
Syndicate_Admin
Administrator
Administrator

Relate multiple Whats if to a table viewer

Hello, I am another of the new to use the Power Bi, I tell you my problem, I have created six WHATS IF on the canvas correspond to 6 cities and I use them to put the Number of visitors, and I would like to relate it in a table viewer where the first column is the City and the second a measure called "Nº Visitors" that will integrate the number of visitors that has been written manually in the Whats if in each city, I pass you an example:

JaviBI_0-1653518571143.png

Thank you very much in advance,

1 REPLY 1
amitchandak
Super User
Super User

@Syndicate_Admin , Assume you have few whatif parameter measures

a new measure

Switch(true() ,

max(Table[City]) = "Madrid", [Madrid param],

max(Table[City]) = "Barcelona", [Barcelona param],

max(Table[City]) = "Valencia", [Valencia param],

//add other

,10 //default if any )

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.