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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.