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

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

Reply

Help creating the following measures? Data Sample Included

So I have the following data. I filtered for Jan 2023 just for demostration purposes. 

I want to create a measure that counts all the Yellows in Date Originated. (count = 10)

Date_Originated.png

 

Same data but filtered Date Released to Jan 2023(Demostration purposes).

I want another measure that counts rows of those in Status of Incorporated, accounting only for Date Released. (count = 32)

Date_Released.png

Goal:

I want to create a clustered column chart that has total yellows in one column(Measure 1) and total incorporated in another(Measure 2). 

 

How would I achieve this?

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @powerbinoobster ,

 

Here I suggest you to create inactive relationships between 'Calendar'[Date] and 'Table'[Date Originated] & 'Table'[Date Released].

Sample:

RicoZhou_1-1677574906905.png

Data model:

RicoZhou_0-1677574890435.png

Measure:

Measure 1 = CALCULATE(COUNTROWS('Table'),USERELATIONSHIP('Calendar'[Date],'Table'[Date Originated]),'Table'[Priority] = "YELLOW")
Measure 2 = CALCULATE(COUNTROWS('Table'),USERELATIONSHIP('Calendar'[Date],'Table'[Date Released]),'Table'[Status] = "Incorporated")

 Result is as below.

RicoZhou_2-1677574953163.png

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @powerbinoobster ,

 

Here I suggest you to create inactive relationships between 'Calendar'[Date] and 'Table'[Date Originated] & 'Table'[Date Released].

Sample:

RicoZhou_1-1677574906905.png

Data model:

RicoZhou_0-1677574890435.png

Measure:

Measure 1 = CALCULATE(COUNTROWS('Table'),USERELATIONSHIP('Calendar'[Date],'Table'[Date Originated]),'Table'[Priority] = "YELLOW")
Measure 2 = CALCULATE(COUNTROWS('Table'),USERELATIONSHIP('Calendar'[Date],'Table'[Date Released]),'Table'[Status] = "Incorporated")

 Result is as below.

RicoZhou_2-1677574953163.png

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.

Top Solution Authors
Top Kudoed Authors