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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
rmcconnell340
Frequent Visitor

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
Frequent Visitor

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.

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

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-yiruan-msft
Community Support
Community Support

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

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

Check out the August 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.