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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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