Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Very new to power BI. Getting my feet wet. I created the following measure to calculate a sales total from two different fact tables
Solved! Go to Solution.
RankedSales = CALCULATE(
SUM(SalesData[Sales]) + SUM('NCS Sales'[Sales])
,Distributor[Include in Rankings?] = "Y"
,Windfalls[Exclude Windfall?] = ""
)
RankedSales = CALCULATE(
SUM(SalesData[Sales]) + SUM('NCS Sales'[Sales])
,Distributor[Include in Rankings?] = "Y"
,Windfalls[Exclude Windfall?] = ""
)
Thank you! This worked
As long as all of these tables are connected this should work:
RankedSales = CALCULATE( SUM(SalesData[Sales]) + SUM('NCS Sales'[Sales]), FILTER( ALL('Distributor', 'Windfalls'), 'Distributor'[Include in Rankings?] = "Y" && 'Windfalls'[Exclude Windfall?] = "" ) )
User | Count |
---|---|
16 | |
15 | |
14 | |
12 | |
11 |
User | Count |
---|---|
19 | |
15 | |
14 | |
11 | |
9 |