Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
jostnachs
Helper IV
Helper IV

Dynamic Title based on drillthrough

Hi, I have a dax written for dynamic title based on drill through selection. But it gives me correct title when the selected value has more than one client but giving me client name only instead of selected parameter name if the value has only one clinet.

Client Detail Title1 =

VAR carrierselected = SELECTEDVALUE(V_CompanyIssuing[Issuing Company])
VAR clientselected = SELECTEDVALUE(V_DimClient[ClientName])
VAR PayeeSelected = SELECTEDVALUE(V_CompanyBilling[Billing Company])
RETURN
IF(
NOT ISBLANK (clientselected),"Client Detail - " & clientselected,
IF (
NOT ISBLANK(carrierselected), "Client Detail - " & carrierselected,
IF (
NOT ISBLANK(PayeeSelected), "Client Detail - " & PayeeSelected,
    "ALL"
)
)
)

Can someone help me

1 REPLY 1
Anonymous
Not applicable

Hi @jostnachs ,

Can you please share some dummy data that keep the raw data structure with expected results? It should help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.