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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
rmcconnell340
Helper I
Helper I

Any Idea Why my Smart Text is not displaying but the value works in a card?

The dept_selection works on a card but will not display after trying to display the values in smart text.

 

Here is the DAX:

 

dept_selection =
SWITCH(TRUE(),
    ISFILTERED('hierarchy'[department]),CALCULATE(CONCATENATEX(DISTINCT('hierarchy'[department]), 'hierarchy'[department], ", "))
    ,"All Dept")

 

rmcconnell340_0-1686956232689.png

 

3 REPLIES 3
rmcconnell340
Helper I
Helper I

Hi, 

Thank you! I will try to post some data when I have a moment. This seems to work in other reports but is having an issue in my current report.

Anonymous
Not applicable

Hi @rmcconnell340 ,

Looking forward to the data you provide, later I will give you a solution based on the information you provide for a problem tracking. Thank you.

Best Regards

Anonymous
Not applicable

Hi @rmcconnell340 ,

I can't reproduce your problem when using the same formula as yours.

vyiruanmsft_0-1687152300429.png

Could you please check and confirm the below info?

  • Update the version of your Power BI Desktop to the latest one
  • Check if there is any filter or slicer to filter out the data

 

If the above one can't help you, please provide some raw data in your table  'hierarchy' (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It would be helpful to find out the solution. You can refer the following links to share the required info:

How to provide sample data in the Power BI Forum

 

And It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors