Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
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
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.