Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello all:
This seems it should be fairly straight forward bu still eludes me.
I am trying to get a RANKX of Customers based on YTD Sales, such that the Ranking will respect the Date slicer on the page.
The model is quite simple: 3 tables, appropriately related
* Sales (fact)
* Customer (dim)
* Date (dim)
I have a [Sales Sum] and [Sales YTD] measures defined in the fact table
* Sales Sum = sum('Sales'[ExtSales])
I think this needs to be a MEASURE, not a calculated column.
I have tried this:
Proud to be a Super User! | |
Just CALCULATE Function inside RANK Measure and see the result.
Proud to be a Super User!
@VijayP As in:
Proud to be a Super User! | |
@ToddChitt , are you using anything other than 'Customers'[customer_name] in the visual that is not summarized. If so 'Customers'[customer_name] will rank inside that.
@amitchandak No. My table visual contains only Customer_Name, but the data table is related to Sales on Customer_ID.
One issue I am fighting with the data owner is that Customer_Name is not unique in the Customer table, but ID is. Not sure if that matters.
Thanks
Proud to be a Super User! | |
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
113 | |
99 | |
80 | |
70 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |