Forum Discussion

revanth1601's avatar
revanth1601
New Member
3 years ago
Solved

Power BI report builder LineThrough in Text decorator not consistent

Hello, I've developed a report in Power BI report builder and published to Power BI service which has a conditional LineThrough in the text decorator. EX: IIF(Text="ABC", "LineThrough", "Default"). I can see the LIneThough working as expected in Power BI report builder desktop version and when I export the file but the LineThrough feature doesn't work when I run the report in the Power BI service. I've tried debugging in the console and the CSS element shows text-decorator : LineThrough but I think expected behaviour is text-decorator: line-through. I've created a simple report which works fine my guess is the issue only arises when there is Parent group. For example, I have a parent Row group 'Category' and many other columns. I've tried using the <s> tag in the expression instead of text decorator but that doesn't work in the service as well. Hope you give me a workaround or fix this ASAP.

  • Nice catch, that does look like a bug. The CSS has the wrong property name. There is a large update for paginated reports coming up and I see it is fixed in that. You can actually try the update(not fully production ready) to see if it fixes your issue. Add "?useReactRenderer=1" to your URL. If you already have the "?" with a parameter, use an "&" instead. You might have to add "&useReactParameterPane=1" as well.

5 Replies

  • bradsy's avatar
    bradsy
    Icon for Microsoft Employee rankMicrosoft Employee

    Nice catch, that does look like a bug. The CSS has the wrong property name. There is a large update for paginated reports coming up and I see it is fixed in that. You can actually try the update(not fully production ready) to see if it fixes your issue. Add "?useReactRenderer=1" to your URL. If you already have the "?" with a parameter, use an "&" instead. You might have to add "&useReactParameterPane=1" as well.

    • WheresWally's avatar
      WheresWally
      Icon for Helper III rankHelper III

      Hi, 

       

      This is still an issue in 2023. While the parameters you suggested to solve it in place, how do we solve it permananently for rdls being used within an app?

       

      Thanks

      • bradsy's avatar
        bradsy
        Icon for Microsoft Employee rankMicrosoft Employee

        The large update has been delayed due to other issues. It will come out once all those issues are fixed. I am hoping within the next couple of weeks. Sorry for the delay.