March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Recebo diariamente reclamções onde da entrega de revista, o cliente pode realizar reclamações de qualquer mês para traz, exemplo: hoje ele pode realizar reclamações do mês de janeiro.
Preciso criar um gráfico com as reclamações no decorrer dos meses, sendo que somente as reclamações dos últimos quatro meses seja considerada, reclamações cadastrada depois deste período não devem ser consideradas no gráfico.
Solved! Go to Solution.
Hello @sns1996 ,
You can create measure that calculates the complaints for only last 4 months like below dummy measure..
Complaints Last 4 Months =
CALCULATE(COUNTROWS(ComplaintsTable),
DATESINPERIOD(ComplaintsTable[ComplaintDate],MAX(ComplaintsTable[ComplaintDate]),-4,MONTH))
If you find this helpful , please mark it as solution which will be helpful for others and Your Kudos/Likes are much appreciated!
Thank You
Dharmendar S
Hi @sns1996 ,
Thanks for @dharmendars007 reply!
@sns1996 Here is a simple method for your reference. Add a relative date slicer to filter rows created in last 4 months.
The relevant document is for your reference.Create a relative date slicer or filter in Power BI - Power BI | Microsoft Learn
Best regards,
Mengmeng Li
Hello @sns1996 ,
You can create measure that calculates the complaints for only last 4 months like below dummy measure..
Complaints Last 4 Months =
CALCULATE(COUNTROWS(ComplaintsTable),
DATESINPERIOD(ComplaintsTable[ComplaintDate],MAX(ComplaintsTable[ComplaintDate]),-4,MONTH))
If you find this helpful , please mark it as solution which will be helpful for others and Your Kudos/Likes are much appreciated!
Thank You
Dharmendar S
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
User | Count |
---|---|
27 | |
17 | |
16 | |
12 | |
11 |
User | Count |
---|---|
38 | |
29 | |
22 | |
20 | |
18 |