Forum Discussion
Report builder measure issue
- Anonymous1 year ago
Hi, Peter_23
As you described, there are many duplications in expressions and measures. Since the total is added after loading the dataset into the report builder and then creating a new visual object, some expressions cannot be avoided.
I think this is because of two different products. At first, it was dedicated to paginated reports and served SQL Server Reporting Service. At that time, expressions were used, which was a long time ago. In recent years, it has developed into Power BI Report Server, which integrates Power BI's semantic model and other functions into it. This is also the current preview stage.
As recommended, complete the writing of measures in the semantic model as much as possible, and then present the data in Power BI Report Builder.
If you have already got the answer to the current problem in the previous reply, you can mark the corresponding reply as a solution so that other people in the community can quickly find help when they encounter similar problems.Best Regards
Jianpeng Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks Anonymous thanks
The SM is actually in the service so the live connection is it.
When you said:
"You can only use expressions in Power BI Report builder, not measures (except in the case of connections to semantic models or SSAS)."
I could be use or could be not? (Measures)
Hi, Peter_23
Thank you very much for your reply. If you're connecting to a semantic model in the service in real time, you can use measure.
You need to write the relevant measure in your semantic model and then connect it.
Best Regards
Jianpeng Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Peter_231 year ago
Advocate V
Thanks Anonymous Yes, It is. but I trying to add grand total, so the sum(measure) don't have a correct value because it's division function, so which aggregation should be for grand total?
thanks in advance.
- Anonymous1 year agoNot applicable
Hi, Peter_23
Based on your description, I created a tablix:
This results in the correct summing of the measures:
Best Regards
Jianpeng Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Peter_231 year ago
Advocate V
Anonymous thanks for example, the sum are OK. Orders =40 and Stock 230, the measure are incorrect 40 / 230 = 0.173913043 , not 0.376... (totals) is the same issue I'm having too.
😥