Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hello,
Hope someone can help me. I have a slicer of products (for example 10 products)
Now I want in title (fx) of the visualisation see all the selected items from the slicer and when you don't select a product in the slicer than the text "all product".
I tried the measure
Title_Product = "Product : "& if(hasonevalue(‘Product[Productcode]),selectedvalue(' Product[Productcode]), concatenatex('Product,'Product[Productcode],","))
When notihing is selected I got the names of the 10 products... I want then tot see "all products"
Thanks for reaction!
Solved! Go to Solution.
try this:
try this:
Try
Title text =
VAR NumSelectedProducts =
COUNTROWS ( ALLSELECTED ( 'Product' ) )
VAR NumAllProducts =
COUNTROWS ( ALL ( 'Product' ) )
VAR Result =
IF (
NumSelectedProducts = NumAllProducts,
"All products",
CONCATENATEX ( 'Product', 'Product'[Product code], ", " )
)
RETURN
Result
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
10 | |
10 | |
9 | |
8 |
User | Count |
---|---|
17 | |
13 | |
12 | |
11 | |
9 |