Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi my fellow power BI users, I have been wracking my head for a solution to this PBI assignment, I am pretty new to the PBI so while I was able to handle power query and all, I wanted to figure out the DAX measures for this, as this is the requirement (create measures).
So, we were asked to unpivot some fact columns causing all the metrics to be in one column and all the values in the adjacent column. Then we were asked to make a summary table by grouping segment, manufacturer and brand and then aggregate the fact columns. I didn't know how to do that without including the metric column too so I added that too.
Here, you can see how the summary table looks like and I need to create seperate measures for each that:
For the sum, I was able to come up with something like:
@Anonymous , based on what I got. A measure like
Sumx(addcolumns(summarize('Appended Table', 'Appended Table'[segment], 'Appended Table'[manufacturer]) , "_mes" ,
Switch(True() ,
max(Table[Metric]) in {"A", "B"} , SUM('Appended Table'[Metrics]) ,
COUNT('Appended Table'[Metrics])
)), [_mes])
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
18 | |
15 | |
11 | |
11 | |
8 |
User | Count |
---|---|
24 | |
18 | |
12 | |
11 | |
10 |