Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreThe FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now
Hi,
I need to filter a Client and then show all sales from all clients from the same group as the selected, and I'm getting stucked with that.
| Clients | Groups | Sales |
| Client1 | XPTO | 12312 |
| Client2 | ZZZZ | 4324 |
| Client4 | ZZZZ | 435 |
| Client3 | XPTO | 2131 |
Example:
When I select Client1, shows the sales of Client1 and Client3, because they are from the same group (XPTO), or if I filter Client4, shows only Client4 and Client2 sales.
I need this filtering way, instead of filtering the group, because in my embedded solution i only can get the client parameter.
Client1 selected (exemple):
Shows a Bar Chart like that
Client 1 ------ 12312
Client 3 ---- 2131
Solved! Go to Solution.
@fcarvalho , a measure like this
measure =
var _tab = summarize(filter('Table', 'Table'[Client] in allselected('Table'[Client])),'Table'[Groups])
return
calculate(sum(Table[Sales], filter(all(Table), Table[Groups] in _tab))
But this will work better if the client and group is an independent table
measure =
var _tab = summarize(filter('Client', 'Client'[Client] in allselected('Client'[Client])),'Client'[Groups])
return
calculate(sum(Table[Sales], filter(all(Table), Table[Groups] in _tab))
@fcarvalho , a measure like this
measure =
var _tab = summarize(filter('Table', 'Table'[Client] in allselected('Table'[Client])),'Table'[Groups])
return
calculate(sum(Table[Sales], filter(all(Table), Table[Groups] in _tab))
But this will work better if the client and group is an independent table
measure =
var _tab = summarize(filter('Client', 'Client'[Client] in allselected('Client'[Client])),'Client'[Groups])
return
calculate(sum(Table[Sales], filter(all(Table), Table[Groups] in _tab))
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 40 | |
| 37 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 69 | |
| 67 | |
| 34 | |
| 33 | |
| 30 |