Forum Discussion

sharif's avatar
sharif
Regular Visitor
6 years ago
Solved

Child Record count in parent table

Hi Guys,

 

our data model is like table has Plans, each plan has many promotions and each promotion will have many MPG's.

 

1. PLAN.ROW_ID [PARENT]

2. PROMOTION.PAR_ROW_ID = PLAN.ROW_ID [M:1]

3.MPG.PAR_ROW_ID= PROMOTION.ROW_ID[M:1]

 

Senario :: We want No of Promotions & No of MPG's count for each PLAN.  Please find the screen for your reference. Suggest me DAX code. 

 

 

Thanks,

Sharif.