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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Distinct Count Power B...
Power Apps
Unanswered

Distinct Count Power BI Integration

(0) ShareShare
ReportReport
Posted on by 2

Hi all,

I want to do a distinct count of values from a column which is coming in through Power BI integration (Power BI Integration is up and working well). So far I have been using this to take the first section:

 

First(PowerBIIntegration.Data).Section

 

It would be using the same item as above, but where the table shows the below I just need the answer to be 2:

 

Section 

1.1.2.4 

1.1.2.4

1.1.2.4

1.1.1.1

1.1.1.1

 

Many thanks for any help,

Nick

Categories:
I have the same question (0)
  • v-xiaochen-msft Profile Picture
    on at

    Hi @MooreTandT ,

     

    Please try to use distinct function.

    https://learn.microsoft.com/en-us/power-platform/power-fx/reference/function-distinct

     

    Distinct(First(PowerBIIntegration.Data).Section,Section)

     

    Best Regards,

    Wearsky

  • MooreTandT Profile Picture
    2 on at

    Hi Wearsky,

     

    Thanks as lot for your reply.

     

    unfortunately that formula is throwing an error as per below:

     

    MooreTandT_0-1700208333472.png

    I think because it just says Section in the area highlighted, it always needs to reference the Power BI integration (this is the only place where Section exists) - I'm unsure why it says {0} isn't recognised though?

     

    I tried replacing it as per below but with no joy.

     

    MooreTandT_1-1700208523406.png

     

    Cheers,

     

    Nick

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard