Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi,
I am currently working on a formula to update my LFL Conversion.
The problem I am finding is the current formula there is only 1 (Weekly figures) table where I extract the Transactions and also the Footfall.
Now on the new one, I would like to have it from 2 different Tables: Transactions will be from the table (DailyPlan) and Footfall from (DailyFootfall).
Here there is a sample of data from DailyPlan
Here there is a sample of data from DailyFootfall
How I can change the 1st part of the formula, as Addcolumns only allows me to take from 1 table?
Any suggestion?
Hi @alexcatala
thank you for your reply.
Is there a relationship between the two tables? if you want to combine 2 columns from 2 tables, you need to create a relationship between them.
-
You can get the effect you want in PQ editor, e.g.
then you can filter the column
remove unuseful columns,
-
if you just want to combine 2 columns by DAX:
try
Table = ADDCOLUMNS(Table1,"s1",CALCULATE(MIN(Table2[Traffic])))
then, you can remove columns unuseful.
FYI:
https://docs.microsoft.com/en-us/powerquery-m/table-functions
Best Regards,
Community Support Team _ Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
Thanks for your reply.
No there is no relationship between them as they are different topics. The only thing in common will be the store and date.
What I am trying to make is a formula to obtain the Conversion ( Transactions/Footfall) as they are coming from different tables, I would like to know the best way to create a formula to obtain the LFL of this division.
It might be my fault I didn't explain it correctly, but it might be even easier than you think.
It is a basic division, but each of them come from different tables, but what i am struggling with is the create the LFL, as the previous formula was created with the addcolumns with only 1 table,but now it comes from 2 tables.
So i am just trying to find out a way to replace the top of the formula to make the formula correct.
This is my latest attempt but it didn't work.
As you can see I have to use the addcolumn for the 1st table "DailyPlan" and i have tried to use return to bring the 2nd table but didn't work.
Any other way or idea to formulate this formula?
Thanks you so much for your help!!
thanks for your reply @alexcatala
because still not very clear about your measure and model, so I'll give you one quick example, see
there're 3 tables in my model, I create relationships between them, then I combine the columns of table 2 and table 3 with table 1.
Table = ADDCOLUMNS(Table1,"c1",CALCULATE(MIN(Table2[Column2])),"c2",CALCULATE(MIN(Table3[Column2])))
Best Regards,
Community Support Team _ Tang
If this post helps, please consider Accept it as the solution to help the other members find it more quickly.
Hi, so sorry if the subject is unclear.
I do not need a new table, I just need the formula to obtain the LFL dividing "Footfall" and "Transactions". The question was, in the example of the formula attached, "Footfall" and "Transaction" came from the same table, so the creator just used Addcolumns as there is only 1 table needed.
Now, my problem comes, "Footfall" and " Transaction" are coming from a different table.
So, my question is: Is there a way to use Addcolumns from 2 different tables? Or what the best way to create this formula.
I have tried this:
Hi,
I am currently working on a formula to update my LFL Conversion.
The problem I am finding is the current formula there is only 1 (Weekly figures) table where I extract the Transactions and also the Footfall.
Now on the new one, I would like to have it from 2 different Tables: Transactions will be from the table (DailyPlan) and Footfall from (DailyFootfall).
Here there is a sample of data from DailyPlan
Here there is a sample of data from DailyFootfall
How I can change the 1st part of the formula, as Addcolumns only allows me to take from 1 table?
Any suggestion?
Hi @alexcatala
Which column do you want to get from the two tables and how do you want to combine them?
by the way, the syntax of your current formula is wrong. then, I also find tutorials for you, see
https://docs.microsoft.com/en-us/dax/addcolumns-function-dax
https://docs.microsoft.com/en-us/dax/selectcolumns-function-dax
https://docs.microsoft.com/en-us/dax/summarize-function-dax
https://blog.crossjoin.co.uk/2015/06/01/using-selectcolumns-to-alias-columns-in-dax/
Best Regards,
Community Support Team _ Tang
If this post helps, please consider Accept it as the solution✔️ to help the other members find it more quickly.
I want to extract the Transactions (column named "Attribute" rows named "Trans") with the value (in the column named "Value") both are in Table named (DailyPlan)
For Footfall I want to extract the value from column "Traffic" in the Table named "DailyFootfall"
After Divide Trans/Footfall to create a percentage.
For both of them be able to make an LFL being able to filter them by Store and dates
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 104 | |
| 81 | |
| 66 | |
| 50 | |
| 45 |