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
frg88
Frequent Visitor

Count open ticket in first 7 days after the user signs up

Hi,

 

I have the next 3 tables in my Power BI file: 

Customer table

CustomerIdCountry
1US
2IR
3US

 

Cases table

CustomerIdCreatedDateSubject
12021-01-01Error 1
22021-02-02Error 2
12021-01-04

Error 3

 

Sign up table

CustomerIdSignUp
12021-01-01
22021-02-01
32021-03-01

 

What I want is a visual where we can view the number of tickets that an user has created in the first 7 days or 1 month after it sign up. It would be like:

CustomerIdFirst 7 daysFirst 1 month
112
211
300

 

Can you help me with this? I've tried it with a calculated column in the "Sign up table", but I have not reach what I want.

 

Thanks!


Fran

1 ACCEPTED SOLUTION
CNENFRNL
Community Champion
Community Champion

Screenshot 2021-06-17 233120.png


Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!

DAX is simple, but NOT EASY!

View solution in original post

2 REPLIES 2
CNENFRNL
Community Champion
Community Champion

Screenshot 2021-06-17 233120.png


Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension!

DAX is simple, but NOT EASY!

Thanks @CNENFRNL!!

 

I've tried the solution that you have propposed me but now I obtain this error:

frg88_0-1623968221449.png

 

It seems that the duplicate values (I don't know if the column createdData of Cases table or the SignUp column) don't let me show the visual.

 

Thanks!

 

Fran

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.

Top Solution Authors