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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Alice08
Helper III
Helper III

Facing issue while creating a column in power bi

Can someone help me here?

 

Alice08_0-1717676947169.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Alice08 ,

 

Try to modify your formula like below:

Last Used =
IF (
    'Power Automate Flow Inventory'[Duration] < 30,
    "Less than 30 Days",
    IF (
        'Power Automate Flow Inventory'[Duration] >= 30
            && 'Power Automate Flow Inventory'[Duration] < 60,
        "Over 30 Days",
        IF (
            'Power Automate Flow Inventory'[Duration] >= 60
                && 'Power Automate Flow Inventory'[Duration] < 90,
            "Over 60 Days",
            IF (
                'Power Automate Flow Inventory'[Duration] >= 90
                    && 'Power Automate Flow Inventory'[Duration] < 180,
                "Over 90 Days",
                IF ( 'Power Automate Flow Inventory'[Duration] >= 180, "Over 180 Days" )
            )
        )
    )
)

vkongfanfmsft_0-1717725459879.png

 

Best Regards,
Adamk Kong

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Alice08 ,

 

Try to modify your formula like below:

Last Used =
IF (
    'Power Automate Flow Inventory'[Duration] < 30,
    "Less than 30 Days",
    IF (
        'Power Automate Flow Inventory'[Duration] >= 30
            && 'Power Automate Flow Inventory'[Duration] < 60,
        "Over 30 Days",
        IF (
            'Power Automate Flow Inventory'[Duration] >= 60
                && 'Power Automate Flow Inventory'[Duration] < 90,
            "Over 60 Days",
            IF (
                'Power Automate Flow Inventory'[Duration] >= 90
                    && 'Power Automate Flow Inventory'[Duration] < 180,
                "Over 90 Days",
                IF ( 'Power Automate Flow Inventory'[Duration] >= 180, "Over 180 Days" )
            )
        )
    )
)

vkongfanfmsft_0-1717725459879.png

 

Best Regards,
Adamk Kong

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

HotChilli
Super User
Super User

space in between > and =  ?

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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