没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
试读
270页
Turbocharge your Power BI model by adding advanced DAX programming techniques Know when to use calculated measures versus calculated columns Generate new tables on the fly from existing data Optimize, monitor, and tune Power BI to improve performance of your models Discover new ideas, tricks, and time-saving techniques for better models
资源推荐
资源详情
资源评论
PhilipSeamark
UPPER HUTT, New Zealand
Beginning DAX with Power BI
ISBN-13 (pbk): 978-1-4842-3476-1 ISBN-13 (electronic): 978-1-4842-3477-8
https://doi.org/10.1007/978-1-4842-3477-8
Library of Congress Control Number: 2018937896
Copyright © 2018 by Philip Seamark
is work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part of the
material is concerned, specically the rights of translation, reprinting, reuse of illustrations, recitation,
broadcasting, reproduction on microlms or in any other physical way, and transmission or information
storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now
known or hereafter developed.
Trademarked names, logos, and images may appear in this book. Rather than use a trademark symbol with
every occurrence of a trademarked name, logo, or image we use the names, logos, and images only in an
editorial fashion and to the benet of the trademark owner, with no intention of infringement of the
trademark.
e use in this publication of trade names, trademarks, service marks, and similar terms, even if they are not
identied as such, is not to be taken as an expression of opinion as to whether or not they are subject to
proprietary rights.
While the advice and information in this book are believed to be true and accurate at the date of publication,
neither the authors nor the editors nor the publisher can accept any legal responsibility for any errors or
omissions that may be made. e publisher makes no warranty, express or implied, with respect to the
material contained herein.
Managing Director, Apress Media LLC: Welmoed Spahr
Acquisitions Editor: Joan Murray
Development Editor: Laura Berendson
Coordinating Editor: Jill Balzano
Cover designed by eStudioCalamar
Cover image designed by Freepik (www.freepik.com)
Distributed to the book trade worldwide by Springer Science+Business Media NewYork, 233 Spring Street,
6th Floor, NewYork, NY 10013. Phone 1-800-SPRINGER, fax (201) 348-4505, e-mail orders-ny@springer-
sbm.com, or visit www.springeronline.com. Apress Media, LLC is a California LLC and the sole member
(owner) is Springer Science + Business Media Finance Inc (SSBM Finance Inc). SSBM Finance Inc is a
Delaware corporation.
For information on translations, please e-mail rights@apress.com, or visit http://www.apress.com/
rights-permissions.
Apress titles may be purchased in bulk for academic, corporate, or promotional use. eBook versions and
licenses are also available for most titles. For more information, reference our Print and eBook Bulk Sales
web page at http://www.apress.com/bulk-sales.
Any source code or other supplementary material referenced by the author in this book is available to
readers on GitHub via the book's product page, located at www.apress.com/9781484234761. For more
detailed information, please visit http://www.apress.com/source-code.
Printed on acid-free paper
www.allitebooks.com
v
About the Author ����������������������������������������������������������������������������������������������������� xi
About the Technical Reviewer ������������������������������������������������������������������������������� xiii
Foreword �����������������������������������������������������������������������������������������������������������������xv
Acknowledgments �������������������������������������������������������������������������������������������������xvii
Table of Contents
Chapter 1: Introduction to DAX ��������������������������������������������������������������������������������� 1
What Is DAX? ��������������������������������������������������������������������������������������������������������������������������������� 2
What Is aData Model? ������������������������������������������������������������������������������������������������������������������ 3
Components ofaDAX Data Model ������������������������������������������������������������������������������������������������ 4
Data ����������������������������������������������������������������������������������������������������������������������������������������� 4
Tables �������������������������������������������������������������������������������������������������������������������������������������� 4
Columns ����������������������������������������������������������������������������������������������������������������������������������� 4
Relationships ��������������������������������������������������������������������������������������������������������������������������� 4
Measures ��������������������������������������������������������������������������������������������������������������������������������� 4
Hierarchies ������������������������������������������������������������������������������������������������������������������������������ 5
Your First DAX Calculation������������������������������������������������������������������������������������������������������������� 5
Your First Calculation ��������������������������������������������������������������������������������������������������������������� 6
IntelliSense ������������������������������������������������������������������������������������������������������������������������������ 8
Formatting ������������������������������������������������������������������������������������������������������������������������������������ 9
Comments ������������������������������������������������������������������������������������������������������������������������������� 9
Your Second DAX Calculation ������������������������������������������������������������������������������������������������������ 11
Your Third DAX Calculation ���������������������������������������������������������������������������������������������������������� 12
The CALENDARAUTO Function ����������������������������������������������������������������������������������������������� 13
Datatypes ������������������������������������������������������������������������������������������������������������������������������������ 14
The Whole Number Datatype ������������������������������������������������������������������������������������������������� 15
The Decimal andFixed Decimal Number Datatype ��������������������������������������������������������������� 16
www.allitebooks.com
剩余269页未读,继续阅读
资源评论
白鸽-小蛋
- 粉丝: 10
- 资源: 167
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功