Forum Discussion
frankGB
4 years agoFrequent Visitor
Visual with 1 column where Row Height is defined based on a metric value
Hi, I have a table with a list of events (text) that are associated with a time field and a time index. See example below. Main Table to be visualized Event Time Time Index Event 1 ...
Anonymous
4 years agoNot applicable
Hi frankGB ,
As far as I know, Power BI doesn't support us to sort in Treemap. Treemap will be sorted by value in a logical order from most to least. If you add the same value like 1 into value field, Treemap will be sorted by Group field.
Here I suggest you to add [Event] and [Time Index] into group and then add a measure which return 1 into value field.
Finally, Treemap will be sorted from Event1 1 to Event6 29.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.