March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi All
I have below PBI file from @VijayP working fine , it can display category field :-
https://www.dropbox.com/s/8fepay89fpt0sl6/P%26L%20Vijay%20ver03%20TDS%20working%20COPY_9.pbix?dl=0
Above link is the PBI file.
I try to duplicate the above PBI file by myself but it cannot display Category field :-
Above link is the PBI file :-
Can some one share where go wrong ?
Paul
Solved! Go to Solution.
Hi @admin11 ,
This measure is not the same in the files.
In original file:
Hi Paul,
If the structure of the files is the same, then the reason must be calculated columns or measures.
In most cases measures are the ones that "carry" the logic and they define filters and whether something should be displayed or not.
So main focus was on comparing measures. Luckily, there weren't too many measures so it took couple of minutes to check.
Furthermore, if there were more measures and they have lots of lines, here is a nice online tool to quickly compare queries / code: https://www.diffchecker.com/diff
Regards,
Nemanja Andic
Hi @admin11 ,
This measure is not the same in the files.
In original file:
Thank you for sharing , wow you are very smart. Can you pls share how can you spot the error in just few minute ?
org :-
Total Profit_ =
VAR Revenue = CALCULATE(SUM(GL_TI[C/D]),Fin_Category[Type]="Revenue")*-1
VAR Expenses = CALCULATE(SUM(GL_TI[C/D]),Fin_Category[Type]="Expenses")*-1
Return
Revenue+Expenses
not working :-
Total Profit_2 =
VAR Revenue = CALCULATE(SUM(GL_TI[C/D]),Fin_Category[Category]="Revenue")*-1
VAR Expenses = CALCULATE(SUM(GL_TI[C/D]),Fin_Category[Category]="Expenses")*-1
Return
Revenue+Expenses
Can you share with me please.
Paul
Hi Paul,
If the structure of the files is the same, then the reason must be calculated columns or measures.
In most cases measures are the ones that "carry" the logic and they define filters and whether something should be displayed or not.
So main focus was on comparing measures. Luckily, there weren't too many measures so it took couple of minutes to check.
Furthermore, if there were more measures and they have lots of lines, here is a nice online tool to quickly compare queries / code: https://www.diffchecker.com/diff
Regards,
Nemanja Andic
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
123 | |
82 | |
69 | |
53 | |
44 |
User | Count |
---|---|
202 | |
106 | |
100 | |
64 | |
56 |