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
JackR07
New Member

Multiple different parameters into Single graph

Hi,

 

I am trying to figure out a way to input three different parameters into 1 single linear graph for the output. Currently, I have three separate graphs that generate 1 output, but I want 1 single linear graph with all three parameters imported and combined to produce the output. 

 

Any help would be appreciated. 

3 REPLIES 3
v-chuncz-msft
Community Support
Community Support

@JackR07,

 

The requirement is not very clear. You can implement a measure using parameters by using SELECTEDVALUE.

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

Yes - However in PowerBI I have 3 graphs 3 Parameters - I want to use 1 graph for all 3 parameters so that 1 graph is producing the output of 3 parameters instead of having 3 graphs with each parameter assigned to each one

Try this:

 

1. Create a table using : GENERATESERIES(1, 3, 1).

2. Assign Parameter Title to each number:  Param_Type = SWITCH(Type[TypeNo], 1, "Price", 2, "Weight", 3, "Volume").

3. Create one Measure:

    Param=   IF(SELECTEDVALUE(Type[Param_Type])="Price", [Price],
           IF(SELECTEDVALUE(Type[Param_Type]) = "Weight", [Weight],
               IF(SELECTEDVALUE(Type[Param_Type]) = "Volume", [Volume] ,  [Price]  ) )
4. Use this PARAM as the value into your graph.
 
 
 
Shishir Goel
 
 
**Please Mark it as Solution, if works for you**
 

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.