Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now
Please see link to screen video demonstrating the issue:
Thank you for any advice you can provide!
Solved! Go to Solution.
Hey @mjba
I tested this last night & this AM.
Last night I was at home & tested on the August 2019 PBI Desktop release. I didn't get the results I was looking for when slicing by date. I used the date field from my 'date table.' When I sliced by date, it would pull in other dates from the related table (the rev & expense table).
This AM (at work), I tested on the June 2019 PBI Desktop and got the results I expected; I sliced on the dates in my 'date table.' I tested the margin calculation two different ways: (1) in a table that had both rev & expense #s & (2) where rev & expense #s were in separate tables.
I know this doesn't answer your question, but I just wanted to share my findings with you. Your original measure worked for me on the June 2019 release, but in the August 2019 release the slicer didn't produce results I expected.
HERE is a link to my testing (done this AM).
Hey @mjba
I like the vid!
Are the values displayed on the cards measures? If so, can you possibly post the measures used for at least one of them?
Hey, ccapowerbi!
Thanks for your response! I have two measures -- the net card and the realized hourly rate card. However, one quick note, even before I added those measures, the revenue and hours worked cards still reacted the same as they are in my video ... where they go blank.
I'm working right now, so I can't test.
Can you wrap your SUM expressions in CALCULATE?
Net = CALCULATE(SUM('Revenue'[Revenue])) - CALCULATE(SUM('Expenses'[Sub-Agent Expenses]))
No problem! I changed the measures to include CALCULATE like you demonstrated. Unfortunately that didn't fix the "blank" issue.
With measures, if BLANK appears & you know there isn't numerical data for the specified time period you can simply add +0 to the end of your measure to show 0 instead of BLANK.
Are you sure there are numerical data for your specified time period?
Yup -- I'm sure there is data within that range! If I make date slicers using the fields that this one date slicer is related to, they all work as they should, but as soon as I try to control them all with one date slicer, then they all go blank. Odd!
Hey @mjba
I tested this last night & this AM.
Last night I was at home & tested on the August 2019 PBI Desktop release. I didn't get the results I was looking for when slicing by date. I used the date field from my 'date table.' When I sliced by date, it would pull in other dates from the related table (the rev & expense table).
This AM (at work), I tested on the June 2019 PBI Desktop and got the results I expected; I sliced on the dates in my 'date table.' I tested the margin calculation two different ways: (1) in a table that had both rev & expense #s & (2) where rev & expense #s were in separate tables.
I know this doesn't answer your question, but I just wanted to share my findings with you. Your original measure worked for me on the June 2019 release, but in the August 2019 release the slicer didn't produce results I expected.
HERE is a link to my testing (done this AM).
Interesting -- thanks for doing some tests and sending over your file! That's exactly how I anticipated it would work. I wonder if it's a bug in the August release...
Thanks again for your time!!
Check out the October 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
112 | |
90 | |
83 | |
76 | |
64 |
User | Count |
---|---|
146 | |
111 | |
109 | |
103 | |
96 |