Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
I've the following report https://1drv.ms/u/s!Amd7BXzYs7AVlx7RRKcucc1TBZ1F?e=v3mDNM
I've an issue with the total, how to correct it please?
Solved! Go to Solution.
Another solution (if you're expecting a lot of combinations).
Your unpivoting should include Origination Credit USD. Then a table looks like this. You can also add Correct ColumNames check to make it easier:
Correct ColumnNames =
AND(
RELATED('Table'[ColumnNames])=[ColumnNames];
RELATED('Table'[Originator])=Factsales_copy[Originator]
)
Then the formula looks like this:
Correct totals 2 =
SUMX(
FILTER(Factsales_copy;Factsales_copy[Correct ColumnNames]=TRUE);
Factsales_copy[Value] * Factsales_copy[Origination Credit USD]
)
Proud to be a Super User!
Ok, but in the sample data that you've provided [Origination Credit USD] is in the table. Anyway - this will still works fine. 🙂 Just change the refference from column to measure that you have.
Proud to be a Super User!
Another solution (if you're expecting a lot of combinations).
Your unpivoting should include Origination Credit USD. Then a table looks like this. You can also add Correct ColumNames check to make it easier:
Correct ColumnNames =
AND(
RELATED('Table'[ColumnNames])=[ColumnNames];
RELATED('Table'[Originator])=Factsales_copy[Originator]
)
Then the formula looks like this:
Correct totals 2 =
SUMX(
FILTER(Factsales_copy;Factsales_copy[Correct ColumnNames]=TRUE);
Factsales_copy[Value] * Factsales_copy[Origination Credit USD]
)
Proud to be a Super User!
Thank you for your reply, in the real project, the origination credit usd is a compex measure from different tables.
Ok, but in the sample data that you've provided [Origination Credit USD] is in the table. Anyway - this will still works fine. 🙂 Just change the refference from column to measure that you have.
Proud to be a Super User!
The question is: how many combinations you have in your data? If it's like in this sample onlr 4 columns then I suggest not to duplicate factsales and use one measure:
Correct totals =
SUMX(
Factsales;
SWITCH(RELATED('Table'[ColumnNames]);
"CF_ZK";[CF_ZK];
"CF_SH";[CF_SH];
"CF_GOS";[CF_GOS];
"CF_EFY";[CF_EFY])*Factsales[Origination Credit USD])
Tell me if you're expecting a lot of columns with values and originators - then I will prepare different solution for you.
Proud to be a Super User!
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
143 | |
72 | |
62 | |
51 | |
48 |
User | Count |
---|---|
206 | |
90 | |
62 | |
59 | |
57 |