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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Super127
Regular Visitor

Adding new column or lookupvalue?

Hi Everyone,

 

I am working on my very first power bi report and I am stucked, wonder if anyone could please help me!

 

I am building a report to show compliance rate trend.

 

I have 2 sets of data table:

 

Table 1:  Previous weeks' data,(this is a plain data table) showing compliance rate by manager by week.

Table 2.: New week's data, showing compliance status for each employee under 10 managers , assume total employee number is 100. The data is all text. I have created a measure to calculate the compliance rate using counta, and I am able to get compliance rate by manager for the new week.

 

Now I want to combine my new week's compliance rate to previous weeks' data as a new column so the report would look like:

 

Manager Name,  Week 14,   Week 13, Week 12, .......

 

Manager A,  86%, 90%, 85%...

Manager B,  88%, 87%, 90%...

Manager C,  99%, 89%, 85%...

 

I was trying to use lookupvalue function, but my problem is the data in Table 2 is not calculated, it just shows "compliant" or "not compliant" instead of compliance rate.  

 

 

My approach might be wrong... any help is appreciated!

Thank you very much in advance.

 

 

S

 

 

 

 

 

1 ACCEPTED SOLUTION
v-chuncz-msft
Community Support
Community Support

@Super127,

 

You may refer to the post below.

https://community.powerbi.com/t5/Desktop/create-new-SUMIF-colum/m-p/302501#M133709

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

2 REPLIES 2
v-chuncz-msft
Community Support
Community Support

@Super127,

 

You may refer to the post below.

https://community.powerbi.com/t5/Desktop/create-new-SUMIF-colum/m-p/302501#M133709

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

it worked!!! terrific! thanks so much!

Helpful resources

Announcements
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.