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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
One-Dash
Frequent Visitor

calculating column from other columns

Hello! 

I'm trying to create a visual that shows amount/count  of IDs left at the end of each day that were not QCed

here is the sample table below.    have this table related with Date table using the Date column

what i'm hoping to do is ...

For each day ,  i want to see how many ID's are left that are not QCed.  the  starting number  is going to be 25  since we have that many in backlog not QCed .....in other words I'm hoping to make the column show what ever is left  (25) + received - QC for every day . .  .    any suggestion is appreciated. Thanks

DateIDReceived DateQC Date???
1/1/2022DY123451/1/20221/1/202225
1/2/2022DY123461/1/20221/1/2022 
1/3/2022DY123471/1/20221/2/2022 
1/4/2022DY123481/2/20221/2/2022 
1/5/2022DY123491/3/20221/3/2022 
1/6/2022DY123501/3/20221/4/2022 
1/7/2022DY123511/3/20221/7/2022 
1/8/2022DY123521/3/20221/8/2022 
1/9/2022DY123531/4/20221/9/2022 
1/10/2022DY123541/4/20221/9/2022 
1/11/2022DY123551/4/20221/10/2022 
1/12/2022DY123561/4/20221/11/2022 
1/13/2022DY123571/4/20221/12/2022 
1/14/2022DY123581/4/20221/13/2022 
1/15/2022DY123591/5/20221/14/2022 
1/16/2022DY123601/5/20221/15/2022 
6 REPLIES 6
vapid128
Solution Specialist
Solution Specialist

Value is the date.

And your data is going down,

Is it because you have many line with no  QC Date?

 

yes, i have a lot of entries with no QC date , since lot of them have not been QCed.  but that's what i want to capture. .. that is  "how may count of IDs i have for each date that have not been QCed".  as each day goes by i should have lot more because i will get what ever is rolled over from the previous date.  thanks 

vapid128
Solution Specialist
Solution Specialist

add colnum:

new QC date =

if([QC date] >0,[QC date],TODAY())

 

Table22 = GENERATE(Table11,GENERATESERIES(int(Table11[Received Date]),int(Table11[new QC Date])-1))

I tried that one,  the count didn't do down like the firts one,   but the numbers are still slightly higher than what's in my Data.  the last date entry in the visual for example has 541,  but that number should have been 395.  maybe i'm missing some filters i need to apply. 

OneDash_0-1658403403690.png

 

vapid128
Solution Specialist
Solution Specialist

屏幕截图.pngimage.png

 

Table22 = GENERATE(Table11,GENERATESERIES(int(Table11[Received Date]),int(Table11[QC Date])-1)) 

what is the value column doing?  i did the visual and it shows the id count going down when in reality i know they  have actually stayed high 

OneDash_0-1658148346941.png

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.