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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
smashbroski
Regular Visitor

Count dont display as days on chart / table

Hello Everyone,

 

 

 

I'm trying to display a chart of closed Incidents by date, and while I can get two of my measures to do so, I can't seem to get the third. See below:

Table.PNG









I'm surprised that even with my TTL Closed Resolved Measure below that it show ttl's by day, but not the TTL Active. The measures are below:

 

INC_TTLClosedResolved = 
CALCULATE(
    DISTINCTCOUNT('Incidents'[Incident ID]),
	'Incidents'[Status] IN { "Resolved", "Closed" }
)

 

INC_TTLActive = 
CALCULATE(
    DISTINCTCOUNT('Incidents'[Incident ID]),
	'Incidents'[Status] IN { "Assigned", "Pending", "Work in Progress" }
)

 

 

I have a Calendar with Dates that have relationships to the proper tables, but any help on why this isn't working will be appreciated

 

 

Cheers

1 ACCEPTED SOLUTION

I've actually figured it out.

 

I'm so new to this Power BI World that I watched this video and was able to determine that my Relationships were going the wrong way (much like real life)

Once I moved the relationships to the right direction Completed Date to my Date in my Date Calendar, it all started working like it was supposed to.

View solution in original post

2 REPLIES 2
Greg_Deckler
Super User
Super User

Extremely difficult to tell what is going on here. Sample source data might make it clearer along with expected output. Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490

 

But maybe a version of Open Tickets??? https://community.powerbi.com/t5/Quick-Measures-Gallery/Open-Tickets/m-p/409364#M147


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

I've actually figured it out.

 

I'm so new to this Power BI World that I watched this video and was able to determine that my Relationships were going the wrong way (much like real life)

Once I moved the relationships to the right direction Completed Date to my Date in my Date Calendar, it all started working like it was supposed to.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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