Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I have a table that looks like this:
What I am wanting to to do is to create a new table that will Count the number of tokens where last_Updated_utc is in the current month and the value is 2.0 Qualify. I want this grouped by sales rep. If there is nothing to count I still want it to return zero for that rep.
It would look a bit like this:
Thanks, please feel free to ask any questions!
Solved! Go to Solution.
Hi @mhgottsc ,
Do you want to create a virtual table like the following.
create_table =
SELECTCOLUMNS (
'Table',
"Sales", 'Table'[Sales],
"count",
CALCULATE (
COUNTROWS ( 'Table' ),
ALLEXCEPT ( 'Table', 'Table'[Sales])
)
)
If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @mhgottsc ,
Do you want to create a virtual table like the following.
create_table =
SELECTCOLUMNS (
'Table',
"Sales", 'Table'[Sales],
"count",
CALCULATE (
COUNTROWS ( 'Table' ),
ALLEXCEPT ( 'Table', 'Table'[Sales])
)
)
If the problem is still not resolved, please provide detailed error information and let me know immediately. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
That is standard Power BI functionality - even without code. What have you tried and where are you stuck?
User | Count |
---|---|
106 | |
86 | |
81 | |
73 | |
71 |
User | Count |
---|---|
112 | |
100 | |
98 | |
72 | |
66 |