The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Consider using ISFILTERED and/or HASONEFILTER
Hi Ibendlin,
Thank you for your response, my existing measures is already with ISFILTERED, kindly do see the measure as below and advise changes that has to be made.
ISSUE BREAKDOWN BY REGION =
SELECTEDVALUE
('Quarter'[Quarter],
" "
) &
IF
(
ISFILTERED
('Region'[Region]),
""
,
" ALL"
) &
" ISSUE BREAKDOWN ANALYSIS BY REGION "
&
if
(
ISFILTERED
('Region'[Region]),
"FOR "
&
CONCATENATEX
(
values
('Region'[Region]),'Regionr'[Region],
", "
),
""
)
Formatting it gives
ISSUE BREAKDOWN BY REGION =
SELECTEDVALUE ( 'Quarter'[Quarter], " " )
& IF ( ISFILTERED ( 'Region'[Region] ), "", " ALL" ) & " ISSUE BREAKDOWN ANALYSIS BY REGION "
& IF (
ISFILTERED ( 'Region'[Region] ),
"FOR " & CONCATENATEX ( VALUES ( 'Region'[Region] ), [Region], ", " ),
""
)
Be aware that you did not specify a sort order for CONCATENATEX, so the result will be random.