Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hello,
I'm having an issue with a table visual....it contains a single account number from an accounts table and then info of all the bookings linked to that account number from a booking table (see below)
For some reason when I add in a measure to this table, all the other records from the bookings table now appear with empty values, even though they are not linked to the account number (see below)
Please help 🙂
Hi @RyanLeeMc,
It seems like the newly added measure expands the records and breaks the row context that the previous formulas required so they do not show the corresponding calculation results. You can try to add a filter to check if the current formula results are not equal to zero to skip the calculation on the wrong ranges.
ISFILTERED function (DAX) - DAX | Microsoft Docs
In addition, can you please share the Dax expression and some dummy data that keep the raw data structure? It should help us clarify your scenario and test to coding formula.
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
there should me one-many cardinality from the accounts to bookings table.
HI @RyanLeeMc ,
Hope u r doing well.
What kind of cardinality ur using? what is ur measure syntax? If ur cardinality many to many then u may face some problems.
For using Column
Day_eclipse= DATEDIFF (1st date,2nd Date,DAY)
Hi,
The relationship between the bookings table and accounts table is many to one, no dupes in accounts table.
This is the measure I am adding to the table that seems to mess with all the values:
The DaysElapsed measure should be
Days Elapsed = DATEDIFF(FIRSTDATE(bookings[start_date]),SELECTEDVALUE('date table'[Date]),DAY)
Hi,
I tried your solution but it returns no values for the measure, I have the slicer as follows:
I need to use LASTDATE so that it picks up the last date selected in the date range (31/01/2019).
I've had another play around and it I have removed the account_id from the table and instead used the account_id from the bookings tables and it seems to work fine, so must be something to do with the relationships?
Hi @RyanLeeMc If you can provide a pbix file with sample data then probably can help.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 57 | |
| 40 | |
| 36 | |
| 18 | |
| 18 |
| User | Count |
|---|---|
| 70 | |
| 67 | |
| 38 | |
| 34 | |
| 23 |