Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Currently I can show my opened tickets or closed tickets for any month individually, but I would like to be able to combine the two charts together, but having issues. Pre-warming, I am extremely new to PowerBI, so apologies in adavance.
Here are my two charts:
Actual Data is simliar to below:
Current Visualization details:
Solved! Go to Solution.
@msbutton27 it is pretty straightforward, add a date dimension to your model, see these videos on how to do it, and change the type "create date" and "close date" columns to type date in PQ.
Set the relationship of these two dates with the date dimension on the date column, one relationship will be active, other will be inactive. Assume create date relationship is active, add the following two measures, and in visuals, use year and month from the date dimension and the measures on the values:
Learn basics of Time Intelligence DAX functions - Part 1 - YouTube
Create Count = COUNTROWS ( YourTable )
Closed Count = CALCULATE ( [Create Count], USERELATIONSHIP ( YourTable[Closed Date], DateTable[Date] ) )
👉 Learn Power BI and Fabric - subscribe to our YT channel - @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤️
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@msbutton27 are you getting any error or what? Simply saying not working doesn't explain anything?
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@msbutton27 it is pretty straightforward, add a date dimension to your model, see these videos on how to do it, and change the type "create date" and "close date" columns to type date in PQ.
Set the relationship of these two dates with the date dimension on the date column, one relationship will be active, other will be inactive. Assume create date relationship is active, add the following two measures, and in visuals, use year and month from the date dimension and the measures on the values:
Learn basics of Time Intelligence DAX functions - Part 1 - YouTube
Create Count = COUNTROWS ( YourTable )
Closed Count = CALCULATE ( [Create Count], USERELATIONSHIP ( YourTable[Closed Date], DateTable[Date] ) )
👉 Learn Power BI and Fabric - subscribe to our YT channel - @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤️
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
I'm not entirely sure what your data model looks like, however I'd recommend creating a seperate calendar table then creating two inactive relationships between the date column of the calendar table and two new date columns from your source table (Closed Date and Open Date). By adding in two columns as dates without the time part, the relationships will work correctly otherwise there may be issues. Once this is done, create two measures seen here:
Closed =
CALCULATE(
COUNT(
[Unique ID Field]
),
USERELATIONSHIP(
[Close Date],
'Calendar'[Date]
)
)
Opened =
CALCULATE(
COUNT(
[Unique ID Field]
),
USERELATIONSHIP(
[Open Date],
'Calendar'[Date]
)
)
The top one is for the closed tickets and the bottom one is for opened tickets.
Thanks - I created a calendar and trying to create the measurement and this happens:
I put this in but doesn't work:
User | Count |
---|---|
84 | |
79 | |
71 | |
48 | |
43 |
User | Count |
---|---|
111 | |
54 | |
50 | |
40 | |
40 |