Forum Discussion
Calculer la différence entre deux mois
- Anonymous3 years ago
Hi Anonymous ,
Please try:
Difference = VAR _current_month = [#Deskphone & Fax] VAR _previous_month = CALCULATE([#Deskphone & Fax],PREVIOUSMONTH('Calendar'[Date])) VAR _result = _current_month-_previous_month RETURN _resultand drag the 'calendar[Year],'calendar'[month] and the measure into the table visual.
Best Regards,
Gao
Community Support TeamIf there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
- Anonymous3 years ago
Hello,
Congratulation it is the best solution
Thank you for your help
BR,
Hi Anonymous ,
Please try:
Difference =
VAR _current_month = [#Deskphone & Fax]
VAR _previous_month = CALCULATE([#Deskphone & Fax],PREVIOUSMONTH('Calendar'[Date]))
VAR _result = _current_month-_previous_month
RETURN
_result
and drag the 'calendar[Year],'calendar'[month] and the measure into the table visual.
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum