Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
HI, I'm having a problem and I would like to know if you can help me.
I have to resume the sales vs Budgets for our companny.
My boss asked to do something like this:
The problem is that in the database I have a [Type] field of the records (Sold, Budget 1, Budget 2, Budget 3, Budget 4) and a Type2 that marks as Budget when is B1, 2, 3 or 4.
If I try to make something like this by Type2 , Qtty is ok but for Budget because It sum all budgets, and I couldn't make a filter to act in the case of the Type2 = Budget filtering by the Slicer. Is there a Way to solve it?
I already made measures only for Sold and Budget(this one using hasonfiltered and Switch to display the right budget amount.) But is there a way to group them?
Thank you in advance.
Solved! Go to Solution.
I doubt you can the exact format. you can try workaround bt create a table like this and display
union(
summarize(table,table[Type],"Measure","Qty", "Budget",[Budget], "Sold",[Sold], "diff",[diff]",diff %",[dif%]),
summarize(table,table[Type],"Measure","Amnt", "Budget",[Budget], "Sold",[Sold], "diff",[diff]",diff %",[dif%])
)
I doubt you can the exact format. you can try workaround bt create a table like this and display
union(
summarize(table,table[Type],"Measure","Qty", "Budget",[Budget], "Sold",[Sold], "diff",[diff]",diff %",[dif%]),
summarize(table,table[Type],"Measure","Amnt", "Budget",[Budget], "Sold",[Sold], "diff",[diff]",diff %",[dif%])
)
HI @marcos_osorio,
Can you please share some sample data for test? It will help to test and coding formulas.
How to Get Your Question Answered Quickly
In addition, you can also take a look at the following link about the total level measure calculate:
Measure Totals, The Final Word
Regards,
Xiaoxin Sheng
The information you have provided is not making the problem clear to me. Can you please explain with an example.
The nearest solution I can think of now is
Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution.
In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blogs -Decoding Direct Query - Time Intelligence, Winner Coloring on MAP, HR Analytics, Power BI Working with Non-Standard TimeAnd Comparing Data Across Date Ranges
Proud to be a Datanaut Connect on Linkedin
User | Count |
---|---|
128 | |
109 | |
100 | |
65 | |
62 |
User | Count |
---|---|
137 | |
115 | |
102 | |
71 | |
61 |