Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi
i have measure not tally corectly.
The premium for the 1st 2 rows must only be added once.
Please see screenshot.
Solved! Go to Solution.
Hi @jprousseau ,
Try the following measure:
Measure_new1 =
var _summarize=SUMMARIZE('data',[Date].[Year],[Date].[Month],"1",[Measure_new])
return
IF(
HASONEVALUE(data[Date].[Month]),[Measure_new],SUMX(_summarize,[1]))
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @jprousseau ,
According to your mistake, I did a test to get the correct result, refer to the following:
Measure_new =
VAR _summarize =
SUMMARIZE ( 'data', [User], [Contract], "1", [Measure] )
RETURN
IF ( HASONEVALUE ( data[User] ), [Measure], SUMX ( _summarize, [1] ) )
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks for your help. The measure works now but when i use it in a month breakdown it is still wrong.
maybe just something small. i have uploaded the pbix again to https://drive.google.com/drive/folders/11BrpV3LsGQGiZNJHG70y4lLHxoEaA2Ku
Thanks
Hi @jprousseau ,
Try the following measure:
Measure_new1 =
var _summarize=SUMMARIZE('data',[Date].[Year],[Date].[Month],"1",[Measure_new])
return
IF(
HASONEVALUE(data[Date].[Month]),[Measure_new],SUMX(_summarize,[1]))
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@jprousseau
Try this way:
Measure =
SUMX
(
data,
data[Premium]
)
If you need to average:
Measure =
AVERAGEX
(
data,
data[Premium]
)
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
Get this error
@jprousseau
Can you explain what you are trying to calculate? share a sample of our data.
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 55 | |
| 35 | |
| 31 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 75 | |
| 72 | |
| 38 | |
| 35 | |
| 25 |