Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Dear All. I am stuck with a unique
I need to multiply countries revenue with a % factor while the rows are correct, column total incorrect.
So i used DAX of SUMX but it has error of 1M + rows.
I have two sources of Power BI dataset and factor% multipliers comes from an online excel file.
Solved! Go to Solution.
Hi @tusharpk99 ,
Below is my table:
Below is my table1:
Merge the two tables into a single table(Left Outer):
The following DAX might work for you:
Measure =
SUMX(
Merge1,
Merge1[Revenue] * Merge1[Table1.Fac]
)
The final output is shown in the following figure:
Best Regards,
Xianda Tang
If this post helps , then please consider Accept it as the solution to help the other members find it more quickly.
Hi @tusharpk99 ,
Below is my table:
Below is my table1:
Merge the two tables into a single table(Left Outer):
The following DAX might work for you:
Measure =
SUMX(
Merge1,
Merge1[Revenue] * Merge1[Table1.Fac]
)
The final output is shown in the following figure:
Best Regards,
Xianda Tang
If this post helps , then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
If you do it in column, It will work. bring the % factors in your dataset based on the relationship and then create a calculated column to multiply.
how to bring % factors in the dataset from the excel file ? i tried but it shows the error.
Column cannot be pushed to the remote data source and cannot be used in this scenario
you may make a relationship based on country names to connect both the tables and then bring the % factors in power bi dataset query table using lookup value or related dax function in a new calculated column.
User | Count |
---|---|
25 | |
11 | |
8 | |
6 | |
6 |
User | Count |
---|---|
27 | |
13 | |
11 | |
9 | |
6 |