Forum Discussion
Calculated Column is returning blank values
- 9 years ago
MFelix and Anonymous
Found the soultion. I did all the calculation in SQL and then I am bringing my data to Power BI. It is working fine now.
Thanks alot for supporting guys.
You guys are great.
Thanks,
siddhant
- 9 years ago
It is kind of a temporary solution as I did nothing in Power Bi to resolve it. What I am doing is that instead of creating calculated fields in Power BI I am creating those column in my database itself while fetching the data.
Target Sales = SUMX(Table_Sales; (Sales[Target %]+1)*Sales)
In the first parameter use the table where you have your sales information.
Are the targets in the saless table or in another separate table?
Mfelix
- siddhantk9899 years agoHelper III
MFelix and Anonymous
Found the soultion. I did all the calculation in SQL and then I am bringing my data to Power BI. It is working fine now.
Thanks alot for supporting guys.
You guys are great.
Thanks,
siddhant
- v-huizhn-msft9 years agoMicrosoft Employee
Hi siddhantk989,
Great job. Please mark your solution as workaround, so that more people will benefit from here.
Thanks,
Angelia - siddhantk9899 years agoHelper III
MFelix I tried this but I am getting blank values in the Measure as well.
Anonymous i can not shar the sample of the data set because i have around 92 attributes in my data set.
- v-huizhn-msft9 years agoMicrosoft Employee
Hi siddhantk989,
Glad to hear you have resoled your issue by yourself, please mark coresponding reply as answer. So that more people will benefit from it, and find workaround easily.
Best Regards,
Angelia - siddhantk9899 years agoHelper III
It is kind of a temporary solution as I did nothing in Power Bi to resolve it. What I am doing is that instead of creating calculated fields in Power BI I am creating those column in my database itself while fetching the data.