The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi, I'd like help with a filtered calculation. I'm looking to sum the net sales but filtering out the other countries.
Any idea as to the example dax?
Hi, @Jameswh91
Can you provide some sample data? Sensitive information can be removed in advance. What kind of expected results do you expect? You can also show it with pictures.
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Measure Name=
var _Countires= SelectedValue('table'[countriecolumn])
var _OtherFilterSlicers= SelectedValue('table'[slicer])
Return
Calculated(Sum(Sales),filter('table', [countriescolumn]=_Countires && [othercolumns]=_OtherFilterSlicers)
User | Count |
---|---|
28 | |
12 | |
8 | |
7 | |
5 |
User | Count |
---|---|
36 | |
14 | |
12 | |
8 | |
7 |