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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

Check out the August 2024 Power BI update to learn about new features.

August Carousel

Fabric Community Update - August 2024

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