The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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.