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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Mokegubshook
Helper I
Helper I

Field Parameter with total bar

I have data looklike table Usage below. I need filter to select P90, P95 and P99.

Mokegubshook_0-1741355994238.png

 

If select P90 it should calculate P90 data of each Chanel (Computer and Phone) with total

My output should looklike:

Mokegubshook_1-1741356295111.png

 

What I do now is create field parameter for P90,P95 and P99, but cannot do the total of them. 

 

If you have any solution that would be great!!

 

Thank you sp much

 

3 ACCEPTED SOLUTIONS
lbendlin
Super User
Super User

No need for Field Parameters.  Unpivot your data to bring it into a usable format and then use regular filters.

View solution in original post

BeaBF
Super User
Super User

@Mokegubshook Hi!

Let's build a Table like:

BeaBF_0-1741361317123.png

 

you can easily construct it with the "Enter Data" Button:

BeaBF_1-1741361340742.png

 

Don't make a relationship!

 

Then calculate this measure:

Measure = SWITCH(SELECTEDVALUE(P_Table[P]),
"P90", SUM('Table'[P90]),
"P95", SUM('Table'[P95]),
"P99", SUM('Table'[P99]))
 
You'll achieve the expected output:
BeaBF_2-1741361387371.png

 

BeaBF_3-1741361396502.png

 

BeaBF_4-1741361405715.png

 

 

BBF

View solution in original post

@Mokegubshook Have you tested it?

 

if it's ok please accept the answer as solution to help other users.

 

BBF

View solution in original post

3 REPLIES 3
BeaBF
Super User
Super User

@Mokegubshook Hi!

Let's build a Table like:

BeaBF_0-1741361317123.png

 

you can easily construct it with the "Enter Data" Button:

BeaBF_1-1741361340742.png

 

Don't make a relationship!

 

Then calculate this measure:

Measure = SWITCH(SELECTEDVALUE(P_Table[P]),
"P90", SUM('Table'[P90]),
"P95", SUM('Table'[P95]),
"P99", SUM('Table'[P99]))
 
You'll achieve the expected output:
BeaBF_2-1741361387371.png

 

BeaBF_3-1741361396502.png

 

BeaBF_4-1741361405715.png

 

 

BBF

@Mokegubshook Have you tested it?

 

if it's ok please accept the answer as solution to help other users.

 

BBF

lbendlin
Super User
Super User

No need for Field Parameters.  Unpivot your data to bring it into a usable format and then use regular filters.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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