Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi,
I need help!
So, in my orders table, I created two calculated columns -
For some reason, I cannot add the pbix file here. I can share it to anyone who is willing to help me out. THank you.
@amitchandak here is a link to google sheets - https://docs.google.com/spreadsheets/d/13smuzNornBBnk2-_utR1WdJjLzZBlvWvRjYxJqoFwiw/edit#gid=1387572...
@Andrew_na_lang , Try a new column like
var _max = maxx(filter(orders, orders[customer_id] = earlier(orders[customer_id]) && orders[with HC] ="Yes" ), orders[_Order Ranking])
return
Switch(true(),
_max =1, "REDEEMER 1",
_max =2, "REDEEMER 2",
"NON-REDEEMER")
If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
@amitchandak it didn't work. For some reason, I cannot paste the pbix file here. How can I share it to you?
User | Count |
---|---|
93 | |
83 | |
77 | |
73 | |
66 |
User | Count |
---|---|
115 | |
104 | |
93 | |
64 | |
61 |