HI,
I need Dax help foThree Cards Visuals
Based on Year and Month Slicer
Need to Show (Not able to write a Dax to show Cureent Sale Week Number on Card)
1) Current Financial SaleweekNumber (Present )
2) First Financial SaleWeek Munber (MInimum)
3) Last Financial SaleWeek Number (Maximum)
Solved! Go to Solution.
Hi @heygau ,
Please have a try.
Current Financial SaleweekNumber (Present )
sales weeknum=
calculate(max(salesweennumber),filter(all(table),table[date]=today()))
First Financial SaleWeek Munber (MInimum)
minx=minx(allselected(table),salesweeknumber)
Last Financial SaleWeek Number (Maximum)
maxx=maxx(allselected(table),salesweeknumber)
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
Try these measures
Week number of today = Maxx(Filter(Calendar,Calendar[Date]=today()),Calendar[Financial Sales week])
This week sales = calculate(sum(Data[Sales]),filter(Calendar,Calendar[Financial Sales week]=[Week number of today]))
Hope this helps.
Hi @heygau ,
Please have a try.
Current Financial SaleweekNumber (Present )
sales weeknum=
calculate(max(salesweennumber),filter(all(table),table[date]=today()))
First Financial SaleWeek Munber (MInimum)
minx=minx(allselected(table),salesweeknumber)
Last Financial SaleWeek Number (Maximum)
maxx=maxx(allselected(table),salesweeknumber)
How to Get Your Question Answered Quickly
If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .
Best Regards
Community Support Team _ Polly
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.