Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
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 "; ").
User | Count |
---|---|
10 | |
5 | |
4 | |
4 | |
3 |
User | Count |
---|---|
14 | |
9 | |
5 | |
5 | |
4 |