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 Pages / Display data from Data...
Power Pages
Answered

Display data from Dataverse in a page

(0) ShareShare
ReportReport
Posted on by 30

Hi All !

I have a table called "Case". In this table, i ave a column called "Status Reason". We have 4 types of Status Reason : Resolved, In Progres, Incomplet and Submitted.

So for a given user (connected), I want to be able to count the number of each status of this user. See image:

----------------------------------------------------------------------------------------------------------------------------------------------

PowerPages-GetDataFromDataverse.png

 

Please, i need your help!

Categories:
I have the same question (0)
  • jypy Profile Picture
    30 on at

    Hi All !

    Please, i need your help!

  • domliu37 Profile Picture
    314 Super User 2024 Season 1 on at

    Hi @jypy ,

     

    Is this question Power Pages related? Really trying to understand what you asking here.

     

    Cheers,

    Dom

  • ragavanrajan Profile Picture
    7,044 Most Valuable Professional on at

    Hi @jypy 

     

    you can use liquid to count. Example below 

     

    {% assign count = entities.country.size %}
    Total number of entries in the country table: {{ count }}

     

    Official URL: click here

    Apply some fetchxml with liquid to filter your case status condition or use Javascript/jquery to achieve your count. 

     

    Have fun. 

     


    Hope it helps.
    ------------

    If you like this post, give it a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users to find it.

  • Lucas001 Profile Picture
    2,595 Super User 2026 Season 1 on at

    Hi @jypy,

     

    I think @ragavanrajan already gave the correct approach.

    If I understand you correctly you will need one filter which is set to the User and than one for each case. Depending on what you want to display.

     

    If you want to later display that on your page use a html tag and insert the liquid variable inside, so that you can do further manipulation with Jquery etc.



    --------------------------------------------------------------------------------------

    Hope that helps.

    If the post solves your problem, please mark it as solution. If it helps, consider a thumbs up.

  • Verified answer
    jypy Profile Picture
    30 on at

    Hi All !

    Thanks a lot for your answers.

     

    here is my scripts whitch work well :

    {% fetchxml incidentProblemSolved %}
    
     	<fetch version="1.0" output-format="xml-platform" mapping="logical" aggregate='true'> 
    		<entity name="incident">
     
    			<attribute name="statuscode" alias="incidentcount" aggregate="count" />		
    			<filter type="and"> 
    				<condition attribute="statuscode" operator="eq" value="5" />
    			</filter> 
    		</entity> 
    	</fetch>
    
     {% endfetchxml %}
     
     <resultset morerecords="0">
     <result>
     <count>{{ incidentProblemSolved.results.entities.first.incidentcount }}</count>
     </result>
     </resultset>

     

    So, do that for each column or filed select value.

     

     

     

  • Verified answer
    jypy Profile Picture
    30 on at

    Thanks a lot for your answers.

    here is my scripts whitch work well :

     

    {% fetchxml incidentProblemSolved %}
    
     	<fetch version="1.0" output-format="xml-platform" mapping="logical" aggregate='true'> 
    		<entity name="incident">
     
    			<attribute name="statuscode" alias="incidentcount" aggregate="count" />		
    			<filter type="and"> 
    				<condition attribute="statuscode" operator="eq" value="5" />
    			</filter> 
    		</entity> 
    	</fetch>
    
     {% endfetchxml %}
     
     <resultset morerecords="0">
     <result>
     <count>{{ incidentProblemSolved.results.entities.first.incidentcount }}</count>
     </result>
     </resultset>

    So, do that for each column or filed select value.

     

     

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
Mohsin Ali Profile Picture

Mohsin Ali 33

#2
Fubar Profile Picture

Fubar 31 Super User 2026 Season 1

#3
sannavajjala87 Profile Picture

sannavajjala87 28 Super User 2026 Season 2

Last 30 days Overall leaderboard