Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. 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.
User | Count |
---|---|
76 | |
75 | |
46 | |
31 | |
27 |
User | Count |
---|---|
99 | |
91 | |
51 | |
49 | |
46 |