Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hello,
I've been trying to search this and figure it out but I can't seem to find the correct answer. I have two tables.
(1) A list of Department
(2) A table of all of our budgeted hire and open requisitions by department
I need a count of Total Budget to Hire by department, as well as Total Open Requisition.
How do I accomplish this using a measure instead of a calculated column? The output I need is below
Thank you in advance!
Solved! Go to Solution.
HI @egrospe17,
You can try to use following measure formulas if they suitable for your requirement:
Total Budget =
VAR list =
VALUES ( Department[Department] )
RETURN
CALCULATE (
SUM ( Table1[Budgeted Positions] ),
FILTER ( ALLSELECTED ( Table1 ), [Department] IN list && [Req Type] = "Budget" )
)
Total Open Requisition =
VAR list =
VALUES ( Department[Department] )
RETURN
CALCULATE (
SUM ( Table1[Number of Open Positions] ),
FILTER (
ALLSELECTED ( Table1 ),
[Department]
IN list
&& [Req Type] = "Open Requisition"
)
)
Regards,
Xiaoxin Sheng
EDIT: Sorry, the Total Open Requisition for Project/Program Management is 7, not 6.
HI @egrospe17,
You can try to use following measure formulas if they suitable for your requirement:
Total Budget =
VAR list =
VALUES ( Department[Department] )
RETURN
CALCULATE (
SUM ( Table1[Budgeted Positions] ),
FILTER ( ALLSELECTED ( Table1 ), [Department] IN list && [Req Type] = "Budget" )
)
Total Open Requisition =
VAR list =
VALUES ( Department[Department] )
RETURN
CALCULATE (
SUM ( Table1[Number of Open Positions] ),
FILTER (
ALLSELECTED ( Table1 ),
[Department]
IN list
&& [Req Type] = "Open Requisition"
)
)
Regards,
Xiaoxin Sheng
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
User | Count |
---|---|
71 | |
37 | |
21 | |
19 | |
15 |
User | Count |
---|---|
125 | |
37 | |
29 | |
29 | |
24 |