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

Aging by Tickets Open

Hi,

I have two tables (Base N2 and Calendars) and two columns in my excel base "Ticket Number" and "reported_date" (Open Tickets), I need to calculate the Age of the tickets.

Follow below the formula that i used, but it did not work.

 

Aging2 = IF(TODAY()-'Base N2'[reported_date]<=5;"1-5 days";IF(TODAY()-'Base N2'[reported_date]<=15;"6-15 days";IF(TODAY()-'Base N2'[reported_date]<=30;"16-30 days";"+30 days")))

 

print.JPG

 

 

Can you help me?

 

Regards,

Renato

1 ACCEPTED SOLUTION
BhaveshPatel
Community Champion
Community Champion

@renatofrancavr

 

Please download this solution at below link.

 

https://drive.google.com/open?id=0B5-C_3XrFPdOMEZZc05OQ1lxYWc

 

Follow the process of creating new calculated columns and You would see the expected results for your data.

Let me know if you need further help.

Thanks & Regards,
Bhavesh

Love the Self Service BI.
Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to give Kudos.

View solution in original post

4 REPLIES 4
v-micsh-msft
Employee
Employee

Hi renatofrancavr,

 

You need to switch all ";" to "," to make the formula work in Power BI desktop. The formula should be:

Aging2 = IF(TODAY()-'Base N2'[reported_date]<=5,

                    "1-5 days",

                    IF(TODAY()-'Base N2'[reported_date]<=15,

                        "6-15 days",

                        IF(TODAY()-'Base N2'[reported_date]<=30,

                            "16-30 days",

                            "+30 days")

                          )

                    )

See:

13.PNG

Please post back if you need any further assistance regarding DAX calculation.

Regards

Hi Michael,

 

My PB is in Portuguese. We use ";"

 

Thanks for your help.

 

Regards,

Renato

 

BhaveshPatel
Community Champion
Community Champion

@renatofrancavr

 

Please download this solution at below link.

 

https://drive.google.com/open?id=0B5-C_3XrFPdOMEZZc05OQ1lxYWc

 

Follow the process of creating new calculated columns and You would see the expected results for your data.

Let me know if you need further help.

Thanks & Regards,
Bhavesh

Love the Self Service BI.
Please use the 'Mark as answer' link to mark a post that answers your question. If you find a reply helpful, please remember to give Kudos.

Hi @BhaveshPatel.

 

The problem was resolved.

 

Thanks for your help.

 

Regards,

Renato

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.