The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
last month Sales = CALCULATE(SUM(Sales[Sales Amount]),previousmonth('Date'[Date]))
I have matrix with Contact name, Total sales and Difference in % for Current and Previous Month columns , As I dont have date coulmn in matrix I have added a date filter in the Visual level , But previousmonth is not working as expected?
@PowerBITesting
Can you provide a sample pbix without sensitive data? That is the most straight forward for us to understand your model.
Regards
Paul
@PowerBITesting No real surprise there, T"I" functions become more of a hassle than a help if not used in very specific ways.
You may find this helpful - https://community.powerbi.com/t5/Community-Blog/To-bleep-With-Time-Intelligence/ba-p/1260000
Also, see if my Time Intelligence the Hard Way provides a different way of accomplishing what you are going for.
https://community.powerbi.com/t5/Quick-Measures-Gallery/Time-Intelligence-quot-The-Hard-Way-quot-TIT...
Would need sample data and expected output to b specific.
User | Count |
---|---|
85 | |
84 | |
36 | |
34 | |
32 |
User | Count |
---|---|
93 | |
79 | |
66 | |
55 | |
52 |