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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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