Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
SelflearningBi
Helper III
Helper III

How to add same model name together

Model NameMOQOrder date 1MOQ 1 Order date 2MOQ 2
A1001/1/20211001/1/2021500
A2001/2/20211001/8/2021400
B7001/3/20211009/9/20213000
A3001/4/20213006/9/2021300
C10001/1/20211001/6/2021 100


How to add the same model MOQ together and do comparsion with MOQ 1 and 2
A MOQ1:  (100+200+300)  VS (100 +100+300)          600 VS   500             NOT MEET MOQ
A MOQ2:  (100+200+300)   VS (500+400+300)          300  VS  1200             MEET MOQ
B MOQ1:  (700)   VS (100)                        NOT MEET MOQ
C MOQ1:  (1000)   VS (100)                      NOT MEET MOQ

I would like to show if NOT MEET MOQ / MEET MOQ 
Can we create a column with that ? how to write "same model add together" formula? 


1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@SelflearningBi , Based on what I got

 

it should be measures like

 

m1= sum(Table[MOQ])

 

m2 = sum(Table[MOQ 1])

 

if you need columns

 

c1= calculate(sum(Table[MOQ]), filter('Table',[Model Name'] = earlier(Table[Model Name]) ))

 

c2 = calculate(sum(Table[MOQ 1]), filter('Table',[Model Name'] = earlier(Table[Model Name]) ))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@SelflearningBi , Based on what I got

 

it should be measures like

 

m1= sum(Table[MOQ])

 

m2 = sum(Table[MOQ 1])

 

if you need columns

 

c1= calculate(sum(Table[MOQ]), filter('Table',[Model Name'] = earlier(Table[Model Name]) ))

 

c2 = calculate(sum(Table[MOQ 1]), filter('Table',[Model Name'] = earlier(Table[Model Name]) ))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.