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 Automate / Enviromental data from...
Power Automate
Unanswered

Enviromental data from Papercut, split CSV

(0) ShareShare
ReportReport
Posted on by 2

We use Papercut to email scheduled reports which i'm picking up with automate, the report i'm interested in is around Environmental Statistics. 

 

DepartmentTrees ConsumedCO2 ProducedEquivalent Bulb HoursSheetsTotal Printed Pages
[No department]8.748% of a tree9.3 kg579.7 hours729801
xxxx1.200% of a tree1.3 kg79.5 hours100155
xxxx1.08 trees113.8 kg7,124.7 hours896011760
xxxx1.70 trees179.5 kg11,239.7 hours1413516059
xxxx2.196% of a tree2.3 kg145.5 hours183261
xxxx1.560% of a tree1.7 kg103.4 hours130139
xxxx11.760% of a tree12.4 kg779.3 hours9801059
xxxx6.38 trees675.6 kg42,298.1 hours5319467623
xxxx4.38 trees463.1 kg28,995.8 hours3646546453
xxxx2.34 trees248.0 kg15,524.8 hours1952422882

 

The first issue, is the bizarre usage of percentage and then decimal for trees and then its a pain because they use a comma in the larger numbers for bulb hours. Those are fine because i can exclude that data and calculate it myself with a new measure and the data from sheets column (in PBI).

 

I'm creating a new CSV table prior to saving it with the below columns. I can get the department column, Total printed Pages as using last() but i'm struggling with getting sheets. Is there a function to count back from last? If i use split and count the occurrence it throws it off as some data in bulb hours has commas and others do not. This throws the count out.

nathant_0-1715088549549.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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 711

#2
Vish WR Profile Picture

Vish WR 691

#3
Haque Profile Picture

Haque 525

Last 30 days Overall leaderboard