Forum Discussion
amaaiia
Skilled Sharer
1 year agoSort one column by another column in another table
Hi. I have one fact table and one dimension table in the semantic model, related by City field: Fact: City Year Value Madrid 2022 3 Madrid 2023 5 Madrid 2024 6 Barcelona ...
audreygerred
Super User
1 year agoHello! You can achieve this by joining your dimension table to your fact. Then, in the dimension table, click on city field, go to the Column Tools ribbon, go to Sort by Column and select Order field. Next, in your matrix visual, add in what you want to rows (year) and put city from your dim table in columns and your measure in values.
Viola!
amaaiia
Skilled Sharer
1 year agoI cant' join tables in DirectLake mode, it should me Import Mode.