The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Hi all,
we have a business scenario that requires a special measure. This measure is returning a table (in fact the result from UNION command). We're a looking for a way to display records (rows) from this measure.
Is there any way to do that, maybe some custom visual exists which accepts measure/table as parameter?
At the moment, we have added CONCATENATEX command at the end of measure code to convert data from this dynamic table into string and put this result into standard table visual. But as you can see it looks rather bad.
Similar requirement is described here: https://community.powerbi.com/t5/Desktop/How-to-display-a-DAX-variable-table-in-Power-BI-Table-visua...
Solved! Go to Solution.
Measures cannot return tables but there's likely some kind of workaround possible. What should the result look like?
If it's just a single column of values, then you could use
CONCATENATEX( <Table>, <Expression>, UNICHAR(10) )
where UNICHAR(10) is a line break (instead of "; ").
Hi, long time no see. Thank you for your answer.
We had to take a break from this matter due to more urgent topics but finally we have developed custom visual (a table). This visual takes measure as an input and the measure returns CSV data. Custom table is rendered from csv data.
Measures cannot return tables but there's likely some kind of workaround possible. What should the result look like?
If it's just a single column of values, then you could use
CONCATENATEX( <Table>, <Expression>, UNICHAR(10) )
where UNICHAR(10) is a line break (instead of "; ").