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!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Data Structure:
| BU | ID | Target Date | Filed Date |
| BU1 | 12345 | 1/1/2022 | 2/10/2022 |
| BU1 | 56789 | 1/1/2022 | |
| BU1 | 12567 | 2/20/2022 | 2/15/2022 |
| BU1 | 14568 | 3/1/2022 | 2/25/2022 |
Required Output
| BU | Jan-2022 | Feb-2022 | Mar-2022 | |
| BU 1 | Target | 2 | 1 | 1 |
| Filed | 3 |
Trying to figure this out since a long time but still stuck!
New to power bi. Request anyone to help me out with this.
Solved! Go to Solution.
@pranit1997 , Create a common date table join with both dates one date will be inactive, Use userelationship to activate the join. Use SHOW on row in matrix visual
Assume Target date is active
Target = count(Table[ID])
Filed date inactive join
Filed =
calculate(count(Table[ID]), userelationship(Table[Filed Date], 'Date'[Date]))
Addcolumns(calendar(date(2020,01,01), date(2021,12,31) ), "Month" , month([date])
, "Year", year([date])
, "Month Year", format([date],"mmm-yyyy")
, "Month year sort", year([date])*100 + month([date])
, "Month",FORMAT([Date],"mmmm")
, "Month sort", month([DAte])
)
@pranit1997 , Create a common date table join with both dates one date will be inactive, Use userelationship to activate the join. Use SHOW on row in matrix visual
Assume Target date is active
Target = count(Table[ID])
Filed date inactive join
Filed =
calculate(count(Table[ID]), userelationship(Table[Filed Date], 'Date'[Date]))
Addcolumns(calendar(date(2020,01,01), date(2021,12,31) ), "Month" , month([date])
, "Year", year([date])
, "Month Year", format([date],"mmm-yyyy")
, "Month year sort", year([date])*100 + month([date])
, "Month",FORMAT([Date],"mmmm")
, "Month sort", month([DAte])
)
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!