Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
 
					
				
		

I want to calculate sum of Plan based on Well Purpose & Year.
Note that Year(table1), Well Purpose(table2) and Plan(table3) are from different tables. 
I created a measure where Plan = SUM(table3[count_plan]) but it only shows total of plan based on year. It does not filter Well Purpose.
By the way, I want to put this measure in table2. Please help me.
@Anonymous Did you create a relationship between table2 and table3? If you did, what is the filter direction between them? The measure should work if a correct active relationship has been created.
Reference: Create and manage relationships in Power BI Desktop - Power BI | Microsoft Docs
@Anonymous , Can you share sample data and sample output in table format?
Ideally should have common tables for year and well purpose to filter the tables
https://www.sqlbi.com/articles/the-importance-of-star-schemas-in-power-bi/
You can create a common table like -https://youtu.be/Bkf35Roman8
 
					
				
				
			
		
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
 
            | User | Count | 
|---|---|
| 80 | |
| 49 | |
| 35 | |
| 31 | |
| 30 |