Forum Discussion

ADrumheller's avatar
ADrumheller
Frequent Visitor
4 years ago

Text Box Dynamic Values are hidden when when previous value is blank

Hello all,

 

This is my first post (mostly due to finding my issues throughout the forums) so if any extra info is needed let me know.

 

Ive been working on making a text box with a summary of various data so people in the organization can copy and paste in an email (used as a passdown). ive been able to get it to work and get the data i want the only issue is that it seems like if the previous dynamic value is evaluated as blank (no data entered yet) then it wont show any subsequent dynamic values. I looked at a auto generated smart narrative and noticed that it seems to use a "TemplateIdColumnRole" after each section to make the when a value is blank which allows subsequent values to still show. ive tried setting up something similar but it doesnt seem to work. As of now the dynamic values will only start to fill in if the previous values are not blank. 

 

Looking at the review order if in this example "3526 Tech" was blank then "3526 Case" and "3526 Issue" would not show anything either. 

Looking at the auto generated they seem to use a "TemplateIdColumnRole" as a line break and will hide the whole section if the value is blank. This is what seems to hide the section but im not sure (couldnt find anything else).

 

Id assume id need to set somthing up similar but it doesnt seem to work and i havnt seen this issue posted anywhere else. Any help in the general direction would be great.

7 Replies

    • ADrumheller's avatar
      ADrumheller
      Frequent Visitor

      Nothing i can see from the limitations, everything does work once all the information is entered the only issue is that when something is blank the rest do not populate. Looking through a auto generated smart narritive it seems like after each section there is a TemplateIdColumnRole and if there is missing information then that whole section is hidden and goes to the next section. si i was hoping to make something similar to hid sections that might have blank data.

      • Anonymous's avatar
        Anonymous
        Not applicable

        HI ADrumheller,

        I tried to change the filter to let the smart narrative variable show blank at first, these dynamic values work and do not reproduce the issue after I change filters. What version of power bi desktop are you testing?

        Can you please share a pbix with some dummy data? It should help us clarify your scenario and test to troubleshoot.

        How to Get Your Question Answered Quickly  

        Regards,

        Xiaoxin Sheng

  • Hi Guys,

    This issue is still ongoing. I actually spent last Friday night trying to figure out what the heck was going on. I have a large text box visual filled with dynamic fields—basically, it's a macroeconomic indicators leaflet for various countries.

    Everything displays perfectly for all countries except one. That particular country has a lot of blank values because its data processing hasn't finished yet. As a result, the entire visual appears blank—it "breaks" because the previous field is blank.

    Solution: I entered "test" into every blank field to fill them temporarily and refreshed the report. Everything displayed correctly. Then I deleted all the "test" values, and somehow the visual corrected itself for that country—blanks remained blanks, and populated fields showed up as expected.

    Just wanted to share this in case anyone else runs into the same issue with these buggy text boxes. Hope it helps!