Reply
croberts21
Responsive Resident
Responsive Resident
Partially syndicated - Outbound

Can field parameters change which values to graph?

I have PBI Desktop v March 2023. 

 

I have been watching videos on using field parameters and made a field parameter. My intention is for the user to change the VALUE of what they want to graph, but I have not been able to get it to work yet. The values the user can graph are: overtime hours, double time hours, normal hours, which are all numbers. I would like them to pick one or more of these from a slicer.

 

Here is a table of values. My Field Parameter is called "ParamHoursType". This is the settings for a Matrix. 

croberts21_0-1681732314812.png

The slicers on the left side of the report tab are for the Fiscal Year and the ParamHoursType. Like this. 

croberts21_1-1681732361061.png

 

No matter which ParamHoursType I choose, no numbers appear in the matrix at all, even when I choose all the Double Time Hrs, Hours Total, and Overtime Hours. 

 

I have another tab with a line graph. The Field Parameter does not graph anything there either. 

 

So do the field parameters work to graph different values? Or do they only work with categories (string fields)? 

 

EDIT: If Field Parameters cannot do this, is there a way for the user to choose which value to graph? I want to graph, or show in a table, one of: overtime hours, normal hours, doubletime hours. 

 

Thank you!

 

1 ACCEPTED SOLUTION
RMDNA
Solution Sage
Solution Sage

Syndicated - Outbound

Hi @croberts21  - each choice in the field parameter should reference a measure that returns the value you want to see.

 

Setup:

RMDNA_3-1681840586627.png

 

RMDNA_0-1681840442468.png

 

Price selected:

RMDNA_1-1681840455090.png

 

Volume selected:

RMDNA_2-1681840465091.png

 

View solution in original post

3 REPLIES 3
RMDNA
Solution Sage
Solution Sage

Syndicated - Outbound

Hi @croberts21  - each choice in the field parameter should reference a measure that returns the value you want to see.

 

Setup:

RMDNA_3-1681840586627.png

 

RMDNA_0-1681840442468.png

 

Price selected:

RMDNA_1-1681840455090.png

 

Volume selected:

RMDNA_2-1681840465091.png

 

croberts21
Responsive Resident
Responsive Resident

Syndicated - Outbound

Thank you. So the choice has to be a measure, not a created column or column from the query SQL statement?

Syndicated - Outbound

The field parameter documentation covers some of the restrictions, I'd check there for more details.

avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)