Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount 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?] = "" ) )