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.
Hi
I've a table including two columns, one with entry dates and one with exit-dates.
My wish is to calculate theese two, and recvive the net result per month, thus wheter the result is positive or negative and then display the result in a bar chart, similar to this:
I've tried making a measure where I just subtracted the entry with exit column, but it didnt work well.
Anyone here with a suggestion how solve this?
Good to know is also that, the two colomuns are connected to two separate calender tables
Solved! Go to Solution.
Hi @LarsPW ,
You can create a calculated column to store the differnce. Something like this:
Difference= DATEDIFF(Tablename[Disaffiliatedate],Tablename[Applicationdate],DAY)
https://learn.microsoft.com/en-us/dax/datediff-function-dax
Please accept as solution if this answers the question- thanks!
Hi @LarsPW ,
You can create a calculated column to store the differnce. Something like this:
Difference= DATEDIFF(Tablename[Disaffiliatedate],Tablename[Applicationdate],DAY)
https://learn.microsoft.com/en-us/dax/datediff-function-dax
Please accept as solution if this answers the question- thanks!
User | Count |
---|---|
84 | |
80 | |
70 | |
47 | |
43 |
User | Count |
---|---|
108 | |
54 | |
50 | |
40 | |
40 |