March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I have created the table below, as an example of a part of my query. My query is a combination of several reports / excel-sheets, which include transactions with a sender name and a receiver name.
I want to create a slicer filter showing all sender+receiver locations, where if I in example choose to filter by "New York", it will show all rows where "New York" is mentioned either as sender or receiver. So in this example, it should show row numbers: 1, 2 and 8. How can I develop such a slicer filter?
Row number | Report number | Sender | Receiver |
1 | 1 | New York | Berlin |
2 | 1 | Beijing | New York |
3 | 1 | Paris | Berlin |
4 | 2 | Los Angeles | Madrid |
5 | 2 | Los Angeles | Berlin |
6 | 3 | Tokyo | Madrid |
7 | 4 | Dubai | Copenhagen |
8 | 4 | New York | Beijing |
9 | 4 | Berlin | Paris |
Solved! Go to Solution.
Hi Maami,
First step is to create a calculated column in the table to combine the sender and receiver values.
Hi Maami,
First step is to create a calculated column in the table to combine the sender and receiver values.
This worked like a charm, thanks!
create a slicer that did not join to this table
And use this measure in you table of matrix
measure =
var _max = maxx(Slicer,Slicer[city]) // values(Slicer[city])
return
calculate(countrows(table),filter(table,table[Sender]=_max || table[Receiver]=_max))
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
123 | |
85 | |
85 | |
70 | |
51 |
User | Count |
---|---|
205 | |
153 | |
97 | |
79 | |
69 |