This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is upgrading! Read all of the details including the timeline and what you can expect. Learn more
HI there.
I have the following tables:
All_Data
Rates_Data
I am looking to create the following table:
Variance_Data
Any help is greatly appreciated!
donal
Solved! Go to Solution.
Hi @dconlon
Create columns
In Table 1(Rates data)
Column1 = [project]&"-"&[client]&"-"&[wbs]&"-"&[teammate id]
In Table2(all data)
Column2 = [project]&"-"&[client]&"-"&[code]&"-"&[teammate name]
Create relationship between two tables based on column1 and column2
Then create columns in Table1
actual hours = CALCULATE(SUM(Table2[hours]),ALLEXCEPT(Table1,Table1[Column1])) Column=[allocated hours]-[actual hours]
Hi @dconlon
Create columns
In Table 1(Rates data)
Column1 = [project]&"-"&[client]&"-"&[wbs]&"-"&[teammate id]
In Table2(all data)
Column2 = [project]&"-"&[client]&"-"&[code]&"-"&[teammate name]
Create relationship between two tables based on column1 and column2
Then create columns in Table1
actual hours = CALCULATE(SUM(Table2[hours]),ALLEXCEPT(Table1,Table1[Column1])) Column=[allocated hours]-[actual hours]
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 24 | |
| 22 | |
| 20 | |
| 18 | |
| 14 |
| User | Count |
|---|---|
| 32 | |
| 26 | |
| 23 | |
| 20 | |
| 20 |