Forum Discussion
jjustjjo
2 months agoHelper II
Tableau Sort Trick in Power BI
I have a Tableau report I'm trying to reproduce in Power BI. I have everything except the Sort Order. There is a Parameter: The Calculated field which uses it: And the trick is the ...
- 2 months ago
jjustjjo Change datatype of "SortBy" Measure to Whole Number. Apply Visual sort using "SortBy" Measure Ascending, but the measure will override this by dynamic sorting logic.
Also, note that you are creating the SiteNameSort, SubjectIDSort and VisitDateSort are calculated columns with data type whole number.
Check below Sample snapshots for reference -
Visit Date is sorting desc order -
Subject ID is sorting asc order -
Default (Site Name) is sorting asc order -
To Unhide the column - Remove the hidden column from the visual and re-add if you are unable to resize the width to make it visible
💡 Helpful? Give a Kudos 👍 — keep the community growing
✅ Solved your issue? Mark as Solution ✔️ — help others find it faster
Best regards,
Rupasree Achari | BI & Fabric Analytics Engineer
danextian
2 months agoSuper User
Hi jjustjjo
A column in Power BI can be custom sorted by another column Sort one column by another column in Power BI