web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / I want to show the com...
Power Apps
Unanswered

I want to show the comments in my gallery?

(1) ShareShare
ReportReport
Posted on by 16

Hi 

I created a view screne to show my comments. I tried using this code that when a filter is selected from powerbi it should show comments related to it, it does it but the problem is when I select no filter like unselect from the filter in powerbi it doesnt show me all the comments in descending order recent one first as my date is in text data type due to a specific reason or it can do something like show me recent comments added in last 7 days.

 

My sharepoint file name is writebackcomments 

 

The code is 

If(
    IsEmpty(PowerBIIntegration.Data) || IsBlank(LookUp(PowerBIIntegration.Data, true).OLD_CODE),
    Sort(
        Writebackcomments,
        DATE,
        SortOrder.Descending
    ),
    Sort(
        Filter(
            Writebackcomments,
            OLD_CODE = LookUp(PowerBIIntegration.Data, true).OLD_CODE
        ),
        DATE,
        SortOrder.Descending
    )
)
pic 2.png
picc.png
Categories:
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
wolenberg_ Profile Picture

wolenberg_ 119 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 107 Most Valuable Professional

#3
Haque Profile Picture

Haque 103

Last 30 days Overall leaderboard