Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago

More Info Button

Hi, 

 

In below table,last column shows the summary which is a big paragraph for every contract.

Is there any way , I can show only first line of paragraph & than give a More Info+ button to see the rest of the summary.

If not More Info+ button than, at least a simple maximize minimize button, if the user wants to see he will open that.

 
 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Regards,

Ashraf 

 
 
 
 

6 Replies

  • Mariusz's avatar
    Mariusz
    Community Champion

    Hi Anonymous 

     

    You can create a what-if parameter table like below.

    Next, create a measure like below that will enable you to switch between both states and manipulate the length of the string 

    Product Description = 
    VAR __productDescription = SELECTEDVALUE ( 'Product'[ProductDescription] )
    RETURN 
    SWITCH(
        SELECTEDVALUE( showHideProductDesc[showHideProductDesc] ),
        0, LEFT( __productDescription, 10 ) & "...",
        1, __productDescription
    )

     Finally, add the measure to the table and use the slider to switch between the options, as below.

    FullShort

     

    Best Regards,
    Mariusz

    If this post helps, then please consider Accepting it as the solution.

    Please feel free to connect with me.
    LinkedIn

     

    • Anonymous's avatar
      Anonymous
      Not applicable

      Mariusz  What u mean by "what-if parameter table " , we can just create a parameter not table.

       

      Request you to please describe.

       

      Thanks...

      • parry2k's avatar
        parry2k
        Super User

        Anonymous He means create a table as per the image he showed.  

  • Anonymous in past I create two table visuals, one on the top without big paragraph and 2nd table visual on the same page with paragraph column, so when users select a row in a top table visual, it will show paragraph at the bottom, it is much cleaner look (in my opinion), and you can hide paragraph table visual and only show when a row in a top table visual is selected, you can use this technique to hide 2nd table visual.

     

    Just an idea.

     

    I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!