cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Frequent Visitor

HTMLVIEWER visualization query - help

  1. Dear Forum Members,

 

I have imported HTMLViewer visualization, Managed to get it worked with my HTML column, it works fine if You highlight or click on any row within a table, issue is when I click the row again which means un-selecting the selected row, it try and add all the values from other rows as nothing is selected, I have a lot of values in the same column, total rows more than 100K and each row contain several lines within single column as an HTML formatted email.

 

Question: Is there a way to make it blank once now row is highlighted and only show that specific row html content in the viewer when the row is selected. I am not making any selection via slicers as every contains email in html format within one column along with other columns. 

 

I have attached a sample as well, it has 3 columns - 2 are in the straight table and one HTML column is in HTML Viewer, if You select any row from the table, it shows nicely that record related HTML in the viewer but when You click on it or unselect it, HTML viewer visualization fills all the emails for that column within that table.

 

Unfortunately, I am unable to attach, I have uploaded it to the dropbox, below is the link.

 

https://www.dropbox.com/s/3me15qqia4nm8xa/HtmlViewer_Sample.pbix?dl=0

 

I tried several scenarios by searching on internet as below:

 

(1) https://exceleratorbi.com.au/show-or-hide-a-power-bi-visual-based-on-selection/

 

The above link work but the issue is when I un-select the row in a table by clicking on it, then card does appear in front and hides the HTML viewer visualization but because nothing is selected it try to get all the html from other rows to combine within HTML Viewer.

 

(2) https://community.powerbi.com/t5/Desktop/HTML-viewer-to-show-filter-selections/td-p/639675

 

I have tried the above link but does not look like it is giving me what I am looking for or probably I am doing something wrong.

 

Please kindly advise.

5 REPLIES 5
Microsoft
Microsoft

 
According to the sample data and the first link you provided, I have made the result you want. You can refer to this pbix file.
 
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @V-lianl-msft  & @mwegener  - Thank You very much for Your response and time taken to reply my, highly appreciated, You guys are real gems.

 

@V-lianl-msft 

I did create that using the link below in my original post, if You refer to my original post:

 

https://exceleratorbi.com.au/show-or-hide-a-power-bi-visua

 

Based on the above link, I have managed to create the similar as You have done it as well, issue here is I have lot of rows - specifically more than 100K - now when You un-select the option we change the card back to show a message but behind the scene You have all 100K rows html column value gets merged within HTML Viewer visual and it takes a while to come back - data keep appending for each of the HTML which is causing un-necessarily delay and some time freezing the screen until it appends all the emails/html in HTMLViewer.

 

I am sorry If I was not clear but did You get my point?

 

What I wanted to either somehow make the HTMLViewer empty or blank on de-selection or un-selection, I think @mwegener  has suggested to go for a single select that sounds like a work-around as it will always have a single option selected which will not allow user to de-select and hence will not ends up appending all the rows html single column value within HTML Viewer, I assume so, I will test it and will accept this work-around as a solution.

 

Would look forward if we can have some enhancements or any other solution available for this.

 

Thank You very much @mwegener @V-lianl-msft 

Kind regards,

 

Hi @PowerBISDK_COD ,

 

did you solve your problem?


If I answered your question, please mark my post as solution, this will also help others.

Please give Kudos for support.

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

I work at KUMAVISION AG , one of the world's largest
implementation partners for Microsoft Dynamics. #BetterTogether
"Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website

Super User II
Super User II

Hi @PowerBISDK_COD ,

 

I think it's not possible because the HTML Viewer does not support measures.

But maybe you can live with this workaround.

singleHTMLView Filter.png

 

If I answered your question, please mark my post as solution, this will also help others.

Please give Kudos for support.

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

I work at KUMAVISION AG , one of the world's largest
implementation partners for Microsoft Dynamics. #BetterTogether
"Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website

Alternatively, the HTMLViewer as a tooltip.

 

QIHTMLViewer.png

 

If I answered your question, please mark my post as solution, this will also help others.

Please give Kudos for support.

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

I work at KUMAVISION AG , one of the world's largest
implementation partners for Microsoft Dynamics. #BetterTogether
"Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website

Helpful resources

Announcements
secondImage

Congratulations!

We are excited to announce the Power BI Super Users!

Microsoft Ignite

Microsoft Ignite with Arun Ulag

Featured Session Drive Data Culture with Power BI: Vision, Strategy & Roadmap. Register here https://myignite.microsoft.com #MSIgnite #PowerPlatform #Power BI ​

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors