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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
JoeyHenry
Frequent Visitor

Need Help Summarising Visualisation Table

Capture.PNG

I have this visualisation table. The purpose of this table is to show Purchasing Orders that were created after invoice date. I created a Key Measure subtracting Table1.[Document Date] and Table2.[Earliest Invoice Date] = [Difference].

 

Now I want to create a visualisation table that would tell me how many Purchasing Orders were created after invoice. For example 31Second Pty Ltd have 5 instances and Ergo Asia have 2 instances. How do I do this?

 

(All data are dummy inputs)

 

Thanks for the help.

 

JoeyHenry

2 ACCEPTED SOLUTIONS
Ashish_Mathur
Super User
Super User

Hi,

 

Create another visual with vendor names in the row labels.  Write this measure

 

=COUNTROWS(FILTER(VALUES(Data[PO Number]),[Difference]>0))

 

If my solution does not work, then share the link from where i can download your PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

v-lili6-msft
Community Support
Community Support

hi, @JoeyHenry

You could use COUNTAX Function to add a measure for it.

Logic like this post, just use COUNTAX instead of SUMX.

Measure= COUNTAX(summarize table,[Difference])

https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907

 

If it is not your case, please share sample pbix file or some data sample and expected output. You can upload it to OneDrive and post the link here. Do mask sensitive data before uploading.

 

 

 

Best Regards,

Lin

 

 

Community Support Team _ Lin
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

5 REPLIES 5
v-lili6-msft
Community Support
Community Support

hi, @JoeyHenry

You could use COUNTAX Function to add a measure for it.

Logic like this post, just use COUNTAX instead of SUMX.

Measure= COUNTAX(summarize table,[Difference])

https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907

 

If it is not your case, please share sample pbix file or some data sample and expected output. You can upload it to OneDrive and post the link here. Do mask sensitive data before uploading.

 

 

 

Best Regards,

Lin

 

 

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

Thank you lean.

 

I can use the formula also.

 

Cheers,

JH

Ashish_Mathur
Super User
Super User

Hi,

 

Create another visual with vendor names in the row labels.  Write this measure

 

=COUNTROWS(FILTER(VALUES(Data[PO Number]),[Difference]>0))

 

If my solution does not work, then share the link from where i can download your PBI file.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hi Ashish,

 

Thank you for this response. I can use this.

 

Cheers,

JH

You are welcome.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.