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
 
					
				
		
Hi everyone.
May I know how can I filter value from one column to become 2 and to put in line chart/
For example, based on the picture below. Amount that have contract (100 + 100 + 100) , should put inside "values" in the line chart. and Amount that is non-contract have to put inside 'Secondary value" in the line chart. 
May I know how can i do that ?
Thank you so much
Solved! Go to Solution.
@Anonymous , You have to create two measures, if you need two axes. For the same axis, you can use legend (contract/non contract)
M1 = calculate(sum(Table[Amount]), filter(Table, Table[contract/non contract] = "Contract" ))
M1 = calculate(sum(Table[Amount]), filter(Table, Table[contract/non contract] = "Non Contract" ))
@Anonymous , You have to create two measures, if you need two axes. For the same axis, you can use legend (contract/non contract)
M1 = calculate(sum(Table[Amount]), filter(Table, Table[contract/non contract] = "Contract" ))
M1 = calculate(sum(Table[Amount]), filter(Table, Table[contract/non contract] = "Non Contract" ))
Hi, Thank you so much !! it works !!
 
					
				
				
			
		
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 | 
|---|---|
| 9 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | 
| User | Count | 
|---|---|
| 23 | |
| 12 | |
| 11 | |
| 9 | |
| 8 |