Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
I have 2 tables (Table A and Table B) with a date and Hour column in each plus a Date table.
When I drag date from Date table in Table viz with hour from Table A and Table B it shows hours for April from Table A.
when I drag Status column from Table B in the viz - April disappear as there are no April data in Table B.
How do I get April to appear on the "With status" viz?
Solved! Go to Solution.
hI @Anonymous
try to add these two measures:
Total B Hours = SUM( TableB[Hours B])
Total A Hours =
IF(
NOT( ISINSCOPE( TableB[status] ) ),
SUM( TableA[Hours A] )
)
Did I answer your question correctly? Mark my answer as a solution!
Proud to be a Datanaut!
Instead of having two fact tables (table A and table B), could you have a single fact table (table A B)? I don't have a solution by way of a DAX language. My first approach would be to denormalize the fact tables into one table. Looking at the available columns, you don't look like you have so much granularity that a single table becomes imposible to understand.
the two tables are at a different granularities.. Table A is at the Date granularity whereas Table B is at the Date and Status granularity
Did I answer your question correctly? Mark my answer as a solution!
Proud to be a Datanaut!
hI @Anonymous
try to add these two measures:
Total B Hours = SUM( TableB[Hours B])
Total A Hours =
IF(
NOT( ISINSCOPE( TableB[status] ) ),
SUM( TableA[Hours A] )
)
Did I answer your question correctly? Mark my answer as a solution!
Proud to be a Datanaut!
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.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 47 | |
| 44 | |
| 40 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 70 | |
| 68 | |
| 32 | |
| 27 | |
| 25 |