Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi all,
I have a question which I hope has an easy answer. I've been looking all over but cannot find the solution:
My data consists of sales data (turnover, item data, quantity,...) of several different products from many outlets. The items sold on the same ticket have the same ticket number and all have unique identifiers and prices.
Now I would like to filter out all tickets of a certain total ticket value (same ticket number) and see the item details.
I can see the total value of the ticket in a table (without item details), but when I'm filtering on Turnover it looks at the value of the individual item sold but not on the total ticket value.
Any help would be greatly appreciated!
Thanks,
Ivan
Solved! Go to Solution.
@Ivan_C ,
Ticket Value = sum(Table[Ticket Value])
Value above 100 = countX(Filter(Values(Table[ticket id]),[Ticket Value] >0),Table[ticket id])
or
countX(Filter(summarize(Table,Table[ticket id],"_1",[Ticket Value]),[_1]>100),[ticket id])
@Ivan_C ,
Ticket Value = sum(Table[Ticket Value])
Value above 100 = countX(Filter(Values(Table[ticket id]),[Ticket Value] >0),Table[ticket id])
or
countX(Filter(summarize(Table,Table[ticket id],"_1",[Ticket Value]),[_1]>100),[ticket id])
User | Count |
---|---|
126 | |
108 | |
99 | |
65 | |
62 |
User | Count |
---|---|
137 | |
116 | |
102 | |
71 | |
61 |