Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
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
Hi Experts,
I want to show percentage of previous month. After creating formula
prev got this value instead of 268642.83 total it is showing 2601461.69.
Solved! Go to Solution.
Hi, @Uzi2019
According to your picture and description, I guess that you want to make the total row of [prev] display the correct total value, you can create a new measure [prev_new]:
prev_new =
var _new=SUMMARIZE('Table','Table'[date],"_value",[prev])
return IF(HASONEVALUE('Table'[date]),[prev],SUMX(_new,[_value]))
You should replace the ‘Table’ with your table name, and place this measure into the table chart.
And you can get what you want.
If this result is not what you want, you can post some sample data(without sensitive data) so that we can help you in advance.
How to Get Your Question Answered Quickly
Best Regards,
Community Support Team _Robert Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Uzi2019 , dateadd need the continuous date, so if the date is not present in table or last month the same date is not present it will give the wrong answer. That is why we need to use date table, which has continous date
example, see for the date where I do not have one month old dates. Any mssing date in this month and last month can casue diff
Hi @amitchandak ,
I have continuous dates. Thats why Row wise i got correct answer. only problem is with Total.
See above data is there for 1 2 and 3rd oct and nov. but still got incorrect total.
See Row wise prev is correct only total is incorrect. it sould be 268642.83.
I have also created same thing using calendar table still getting incorrect and blank answer.
Hi, @Uzi2019
According to your picture and description, I guess that you want to make the total row of [prev] display the correct total value, you can create a new measure [prev_new]:
prev_new =
var _new=SUMMARIZE('Table','Table'[date],"_value",[prev])
return IF(HASONEVALUE('Table'[date]),[prev],SUMX(_new,[_value]))
You should replace the ‘Table’ with your table name, and place this measure into the table chart.
And you can get what you want.
If this result is not what you want, you can post some sample data(without sensitive data) so that we can help you in advance.
How to Get Your Question Answered Quickly
Best Regards,
Community Support Team _Robert Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Uzi2019 , for time intelligence use date table, any missing date will cause the issue
Hi @amitchandak ,
Thanks for your reply.
As I mentioned, I am getting incorrect Prev Month Total which leads to incorrect MoM Growth. So first we have to rectify previous month figure. Individual rows are coming correctly but total is incorrect.
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 |
|---|---|
| 50 | |
| 44 | |
| 42 | |
| 19 | |
| 19 |
| User | Count |
|---|---|
| 69 | |
| 68 | |
| 33 | |
| 32 | |
| 32 |