The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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 |
---|---|
15 | |
11 | |
8 | |
8 | |
7 |
User | Count |
---|---|
21 | |
20 | |
11 | |
10 | |
7 |