Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Bonjour, j'aimerai faire la somme de mon champs "expected" sauf que là il me donne une mauvaise somme étant donné qu'il compte une seule fois les valeurs de "name" qui se répétent alors qu'il devrait le compter plusieurs fois.
J'ai vraiment besoin de votre aide Merci
Solved! Go to Solution.
Hi @Anonymous ,
Is the "expected" a measure?
You may consider to modify the measure as below.
expected =
var _expected = [current expected measure]
var _sum = sumx(allselected('table'),[_expected])
return
if(isinscope([name]),_expected,_sum)
Best Regards,
Jay
Hi @Anonymous ,
Is the "expected" a measure?
You may consider to modify the measure as below.
expected =
var _expected = [current expected measure]
var _sum = sumx(allselected('table'),[_expected])
return
if(isinscope([name]),_expected,_sum)
Best Regards,
Jay
Thank You, i was succesful using your solution
Please provide sanitized sample data that fully covers your issue. Paste the data into a table in your post or use one of the file services. Please show the expected outcome.
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.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 48 | |
| 40 | |
| 37 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 70 | |
| 67 | |
| 32 | |
| 27 | |
| 25 |