Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
I'm using HTML Content visual.
I created a measure which embeded my HTML code:
``
``
'Opportunité'[Name] renders properly, 'Opportunity Feed'[Body] is not rendering.
In 'Opportunity Feed'[Body], it contains HTML tags and content. For example: <p>Email relance sent à Ingrid >> Reponse</p><p>Je reviens vers vous</p>
If I just drop 'Opportunity Feed'[Body] alone in HTML Content visual, it renders properly.
Solved! Go to Solution.
Have you checked the granuality? Maybe there are duplicates?
If you change the SELECTEDVALUE of 'Opportunity Feed'[Body] to MAX of 'Opportunity Feed'[Body] --- you should see it return text?
Proud to be a Super User!
It's possible you could use CONCATENATEX in your DAX
Proud to be a Super User!
Have you checked the granuality? Maybe there are duplicates?
If you change the SELECTEDVALUE of 'Opportunity Feed'[Body] to MAX of 'Opportunity Feed'[Body] --- you should see it return text?
Proud to be a Super User!
You are right. There are duplicate values that I didnt notice:
In this case, I would like to display both values like this:
30/10/2024 11:15:54
<p> AS Lorea Belette....</p>
17/10/2024 13:34:30
<p> Email relance colle....</p>
I'm thinking that I could use JavaScript to make an array and then use HTML to display this in the iframe.
Does this visual also render JS?
No it doesn't. Could you create an index field? it's hard to advise without seeing what you are trying to build...
Proud to be a Super User!
It's possible you could use CONCATENATEX in your DAX
Proud to be a Super User!
Most likely it contains too many tags ( like <body> etc). See if you can clean that up, or if you can isolate it in its own iframe.
You mean in my 'Opportunity Feed'[Body] column there might be <body> tag?
There isn't any <body> tag, but in some records there are a lot of <p> tag.
To test your solution, I created a new column 'Opportunity Feed'[Test]. In this column, all the records are "<p>Test</p>".
When I changed my measure from SELECTEDVALUE('Opportunity Feed'[Body]) to SELECTEDVALUE('Opportunity Feed'[Test]), "Test" is rendered in the iframe, but opportunity name is not rendering any more.
This is really odd.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 55 | |
| 34 | |
| 31 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 74 | |
| 71 | |
| 37 | |
| 35 | |
| 25 |