Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
In tableau I created a parameter and using the parameter created a calculated field using "case when" and used that field as measure to display it as value.
For Example:
Created parameter
Created measure:
and the result
I created the parameter but not able to use that parameter as measure. kindly help
@asdf1608 , You can use switch
You Can create a measure like
Sumx( Table,
Switch( selectedvalue(Param[Value]),
1, [Column1],
2, [Column2],
3, [Column3],
4, [Column4],
// add other
)
)
@amitchandak I created the parameter through fields which is not applicable for this scenario.
So I created the parameter from Power BI query. But only the first value is showing not the rest.
Can you guide me of how to create that display parameter?
User | Count |
---|---|
15 | |
9 | |
8 | |
6 | |
5 |
User | Count |
---|---|
31 | |
18 | |
13 | |
7 | |
5 |