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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Solved! Go to Solution.
Hi, @Anonymous ;
You could modify the measure like below:
Selected Year1 =
"Sales and Pipeline Report for "
& IF (
CALCULATE (DISTINCTCOUNT ( 'Business area'[Item Code] ),ALL ( 'Business area' ))
= CALCULATE (DISTINCTCOUNT ( 'Business area'[Item Code] ), ALLSELECTED ( 'Business area' )),
"UK",SELECTEDVALUE ( 'Business area'[Item Code] )) & " "
& SELECTEDVALUE ( 'New Date Table'[year].[Year] ) & " "
The final output is shown below:
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @Anonymous ;
You could modify the measure like below:
Selected Year1 =
"Sales and Pipeline Report for "
& IF (
CALCULATE (DISTINCTCOUNT ( 'Business area'[Item Code] ),ALL ( 'Business area' ))
= CALCULATE (DISTINCTCOUNT ( 'Business area'[Item Code] ), ALLSELECTED ( 'Business area' )),
"UK",SELECTEDVALUE ( 'Business area'[Item Code] )) & " "
& SELECTEDVALUE ( 'New Date Table'[year].[Year] ) & " "
The final output is shown below:
Best Regards,
Community Support Team_ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous , for which value, say 'Business area'[Business Area ] or both then use &&
when not filtered
Selected Year1 = if( isfiltered('Business area'[Business Area ]) , "Sales and Pipeline Report for " & SELECTEDVALUE('Business area'[Business Area ]) & " " & SELECTEDVALUE('New Date Table'[year].[Year]) & " " ,
"UK")
https://powerpivotpro.com/2013/03/hasonevalue-vs-isfiltered-vs-hasonefilter/
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 61 | |
| 59 | |
| 42 | |
| 18 | |
| 15 |
| User | Count |
|---|---|
| 109 | |
| 102 | |
| 39 | |
| 29 | |
| 29 |