DAX Cookbook by Greg Deckler
Author:Greg Deckler [Greg Deckler]
Language: eng
Format: epub
Tags: COM018000 - COMPUTERS / Data Processing, COM062000 - COMPUTERS / Data Modeling and Design, COM005030 - COMPUTERS / Enterprise Applications / Business Intelligence Tools
Publisher: Packt Publishing
Published: 2020-03-18T13:19:15+00:00
How to do it...
Finding full-time equivalent can be done in the following steps:
Create the following measure:
FTEs =
VAR __FT =
COUNTROWS(
SUMMARIZE(
FILTER('R05_Table', [Type] = "FT"),
[Employee]
)
)
VAR __PT =
SUMMARIZE(
FILTER('R05_Table', [Type] = "PT"),
[Employee],
"__Hours",SUM([Hours])
)
VAR __WorkHours =
SUMMARIZE(
'R05_Table',
[Date],
"__WorkHours",AVERAGE([Work Hours])
)
VAR __TotalPartTimeHours = SUMX(__PT,[__Hours])
VAR __TotalWorkHours = SUMX(__WorkHours,[__WorkHours])
RETURN
__FT + DIVIDE(__TotalPartTimeHours, __TotalWorkHours, 0)
Format FTEs to have two decimal places.
On a report page create a clustered column chart visualization and place the Date column from the R05_Table table into the Axis area of the visualization; also place the FTEs measure into the Value area of the visualization.
Use the forked arrow icon, Expand all down one level in the hierarchy, as well as the up arrow, Drill up, to drill down and up within the Date hierarchy and observe the varying values for the FTEs measure.
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Exploring Deepfakes by Bryan Lyon and Matt Tora(7747)
Robo-Advisor with Python by Aki Ranin(7645)
Offensive Shellcode from Scratch by Rishalin Pillay(6116)
Microsoft 365 and SharePoint Online Cookbook by Gaurav Mahajan Sudeep Ghatak Nate Chamberlain Scott Brewster(5048)
Ego Is the Enemy by Ryan Holiday(4960)
Management Strategies for the Cloud Revolution: How Cloud Computing Is Transforming Business and Why You Can't Afford to Be Left Behind by Charles Babcock(4439)
Python for ArcGIS Pro by Silas Toms Bill Parker(4190)
Elevating React Web Development with Gatsby by Samuel Larsen-Disney(3900)
Machine Learning at Scale with H2O by Gregory Keys | David Whiting(3637)
Learning C# by Developing Games with Unity 2021 by Harrison Ferrone(3286)
Speed Up Your Python with Rust by Maxwell Flitton(3232)
Liar's Poker by Michael Lewis(3228)
OPNsense Beginner to Professional by Julio Cesar Bueno de Camargo(3195)
Extreme DAX by Michiel Rozema & Henk Vlootman(3175)
Agile Security Operations by Hinne Hettema(3124)
Linux Command Line and Shell Scripting Techniques by Vedran Dakic and Jasmin Redzepagic(3110)
Essential Cryptography for JavaScript Developers by Alessandro Segala(3083)
Cryptography Algorithms by Massimo Bertaccini(3002)
AI-Powered Commerce by Andy Pandharikar & Frederik Bussler(2984)
