Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi,
I have a list of 35 000 sentences from which I extracted key words.
For each sentence, I have a rate and the date, from 2010 to 2019.
I would like to be able to see which are the keywords increasing/decreasing the most (variation of average rate per month) between minimum 5 differents years.
I'm a little lost to how to structure my DAX formula.
I was thinking to :
1) calculate average rate per month : I think I should use CALCULATE + AVERAGE + FILTER, but not sure how to calculate by month
2) I'm a little lost to calculate the variation
3) Display an histogram with the keyword with the TOP variation (increasing/decreasing)
I'm looking for some help to structure my think 🙂
Thanks
Solved! Go to Solution.
Hi @Ade1991
It seems you may try to use ALLEXCEPT function.If it is not your case,please follow the How to Get Your Question Answered Quickly to post your simple assumed data and expected output.
Reference:https://www.sqlbi.com/articles/using-allexcept-versus-all-and-values/
Measure =
CALCULATE (
AVERAGE ( Table[Rate] ),
ALLEXCEPT ( Table, Table[Year], Table[Month] )
)
Regards,
Hi @Ade1991
It seems you may try to use ALLEXCEPT function.If it is not your case,please follow the How to Get Your Question Answered Quickly to post your simple assumed data and expected output.
Reference:https://www.sqlbi.com/articles/using-allexcept-versus-all-and-values/
Measure =
CALCULATE (
AVERAGE ( Table[Rate] ),
ALLEXCEPT ( Table, Table[Year], Table[Month] )
)
Regards,
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 |
|---|---|
| 56 | |
| 33 | |
| 32 | |
| 18 | |
| 16 |
| User | Count |
|---|---|
| 68 | |
| 67 | |
| 45 | |
| 30 | |
| 28 |