Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
you need to generate a dimension table without any relationships.
the table will have at least two columns, Name, such as "Bucket1","Bucket2",.... and Index, as 1,2,3....
then put the Name in the column area
create a measure like this
new measure=if(calculate(countrows(table),allselected(table[product],table[monthend]))=max(dimtable[index]),max(dimtable[index]))
Hi @PPK2698,
Did the above suggestions help with your scenario? if that is the case, you can consider Kudo or Accept the helpful suggestions to help others who faced similar requirements.
If these also don't help, please share more detailed information to help us clarify your scenario to test.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
Totally unclear. I don't think that without rephrasing this in an understandable manner you'll get any answers...
@daXtreme Thanks for reply,
I am facing issue in below dax
SUMMARIZE(Test,
Test[Product],
Test[MonthEnd],
Test[Category],
"Bucket 1",
"Bucket 2",
"Bucket 3",
)
I want logic of Bucket 1, 2, and 3 column which is mentioned in dax query and this should based on How Many "B" are present in category that count should go in that particular bucket.
and i am doing this code in DAX STUDIO
you need to generate a dimension table without any relationships.
the table will have at least two columns, Name, such as "Bucket1","Bucket2",.... and Index, as 1,2,3....
then put the Name in the column area
create a measure like this
new measure=if(calculate(countrows(table),allselected(table[product],table[monthend]))=max(dimtable[index]),max(dimtable[index]))
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
43 | |
23 | |
21 | |
15 | |
15 |
User | Count |
---|---|
45 | |
31 | |
30 | |
18 | |
17 |